> On 12/14/02 2:12 PM, "Gary Lists" <[EMAIL PROTECTED]> wrote: >> On or about 12/14/02 12:01 PM, SVEN AERTS wrote: >>> This standard format is it the ISO: 20021214 for 2002, december 14th ? >> Actually, the ISO format would be: 2002-12-14 >> <http://www.cl.cam.ac.uk/~mgk25/iso-time.html> > > All this is not relevant here. (There are certain RFCs where the format is > what Sven is using, or 20021214T094320, by the way.) Sven is asking about a > SCRIPT whose AUTHOR used the phrase "standard format". Perhaps that phrase > was used loosely to mean "US format", or - more likely - to mean "YOUR > standard format": i.e. whatever your own system format would be. That's what > usually works in AppleScript date scripts.
I wrote Postpone/Delayed Send, with help from Paul IIRC. I don't write scripts for a living, though, so I have little experience with international formats. Before asking the OS to interpret the entry as a date, the script first checks to see if what you've typed matches any of the shortcuts the script accepts (5 = 5 days, 12m = 12 minutes, 3w = 3 weeks, etc.). If you're typing in 20021214, the script thinks that you want to postpone/delayed send that particular message by 20,021,214 days. If you're interested in tinkering, hold the option key while selecting the script from the script menu, then insert the following line: if howFar < 10000000 then err above the line: set theDate to toDay + howFar * days This will force the script to have the OS interpret your date as long as the number you've typed in is larger than 10000000. However, I can't seem to get the OS to accept 20021214 as a date, even changing my date/time prefs. 2002-12-14 seems to work. Perhaps someone wiser than me here can enlighten us. > For the umpteenth time: if you have a script question, write to the script's > AUTHOR directly., not here. How is anyone else here supposed to know what > the author meant? I don't believe that's my script. I have a rather more > complicated one called "Delayed Send X". It's too complicated, but it does > get the date stuff right for all formats. So write the author of the script > you're using, or try mine. You did help with it, actually, but the mistakes are all mine. =) - B -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
