• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Correcting AGE_INFO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correcting AGE_INFO


  • Subject: Re: Correcting AGE_INFO
  • From: Bert Groeneveld <email@hidden>
  • Date: Sat, 6 Feb 2010 23:41:53 +0100

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 ?<--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to 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
  • Follow-Ups:
    • Re: Correcting AGE_INFO
      • From: Deivy Petrescu <email@hidden>
References: 
 >Re: Correcting AGE_INFO (From: "Nigel Garvey" <email@hidden>)
 >Re: Correcting AGE_INFO (From: "Mark J. Reed" <email@hidden>)
 >Re: Correcting AGE_INFO (From: "Nigel Garvey" <email@hidden>)
 >Re: Correcting AGE_INFO (From: "Mark J. Reed" <email@hidden>)
 >Re: Correcting AGE_INFO (From: Deivy Marck Petrescu <email@hidden>)
 >Re: Correcting AGE_INFO (From: "Mark J. Reed" <email@hidden>)
 >Re: Correcting AGE_INFO (From: Deivy Petrescu <email@hidden>)
 >Re: Correcting AGE_INFO (From: "Mark J. Reed" <email@hidden>)
 >Re: Correcting AGE_INFO (From: Deivy Petrescu <email@hidden>)
 >Re: Correcting AGE_INFO (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Script Menu in 10.6.2
  • Next by Date: Word 2008 text range between markers
  • Previous by thread: Re: Correcting AGE_INFO
  • Next by thread: Re: Correcting AGE_INFO
  • Index(es):
    • Date
    • Thread