Re: Correcting AGE_INFO
Re: Correcting AGE_INFO
- Subject: Re: Correcting AGE_INFO
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 07 Feb 2010 09:09:50 -0500
On 06/02/2010, at 17:41 , Bert Groeneveld wrote:
> Thanks everybody for all the help. I decided to start using ES' solution. Hoping not to dissappoint anyone else . . .
> I inserted all the other solutions as commented handlers, including the name of the author and referring to this very interesting discussion. I believe it's by far the longest thread since I became a member of the list in june 2009, which is 159 businessdays ago ;), including the start day.
>
> For those who are interested: We shoot hundreds of product photos every week for a big local warehouse, and the (in-house) life span of a product may never exceed 7 business days until delivery of the photo, including the incoming day (that's what we promised our customer). At the moment a product comes in, we immediately scan it's code with a barcode reader (with the help of a small Applescript of course). This little script duplicates a very small default placeholder.jpg and renames it to scanned_barcode.jpg. At this moment the (in-house) life span of the product starts (which is in fact the modification date of the duplicated placeholder file). That's why I was interested in the modification date instead of the creation date.
> From now on, thanks to the list, I can monitor a product's in-house age in businessdays.
>
> So thanks again, NG, Deivy, Mark, Luther, Ed and all the others that gave input to the discussion.
>
> Bert.
>
>
> On 6 feb 2010 (5), at 01:05, Doug McNutt wrote:
>
>> At 18:38 -0500 2/5/10, Deivy Petrescu wrote:
>>> I don't know much about the business world.
>>> But if I order something on a Thursday and the order says I'll have it in 5 business days, I assume they mean the next Thursday.
>>> Is that just me?
>>> 2 business days; I'd expect it on Monday.
>>
>> A friend on the Silicon Mountain user group complains that there is no way to figure out how old someone is. The problem is that the concept of date has a fractional part. It's one thing that Microsoft got right when they represented date/time values as a float.
>>
>> If I order at the opening for business instant on Thursday I would expect 5 day delivery at the close of business on the following Wednesday. But if I wait until the secretaries have their coffee and begin answering telephones I wouldn't be surprised to get delivery on Friday because different folks use different rounding algorithms.
>>
>> Think about the banks who record your deposits at the end of the day on which they are presented but apply your credit card charges immediately on receipt. They're not stupid.
>>
>> And can I order a cocktail at the start of the day I turn 21? or do I have to wait another day?
>>
>> It's a bit like determining the start of the century. AppleScript is not, and shouldn't be, designed to answer the question.
>>
>> --
>> --> So did we celebrate the start of a new decade at the end of 2009? Or do the tens start at in January 2011? Was the first year, 0000 ACE, assigned Roman numeral I ?<--
Hey Bert, no way.
Mark and I were on a fist fight, Doug tried to stop us and he got into the fight. Then Luther, and at this very moment Nigel is on plane to join the fight and you just give it to Ed???
You owe us the following:
First, if you get the pictures on a Monday (regardless of time) does it mean you have to deliver the photos next week's Tuesday (regardless of time)?
Second, in your specific case, can you have either of the dates (in or out) on a weekend?
Now you are released. But be careful on how you answer the second item, you replied to these emails on a Saturday.....
;)
Deivy Petrescu
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden