Search the web
Sign In
New User? Sign Up
jsosa · JavaScript OSA-Talk
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Dates   Message List  
Reply | Forward Message #443 of 529 |
MacOS.appSelf().current_date(); // -> ldt value
MacOS.finder().item[1].modification_date; // -> ldt value

AEDesc dates don't seem to convert to JavaScript dates. Does anyone
have any ideas on
work arounds?

P.S. Am I the last surviving JSOSA user?

-- Arthur K.




Wed Sep 22, 2004 7:28 pm

admiralnovia
Offline Offline
Send Email Send Email

Forward
Message #443 of 529 |
Expand Messages Author Sort by Date

MacOS.appSelf().current_date(); // -> ldt value MacOS.finder().item[1].modification_date; // -> ldt value AEDesc dates don't seem to convert to JavaScript...
Arthur Knapp
admiralnovia
Offline Send Email
Sep 22, 2004
7:28 pm

... The version of JavaScript used in JSOSA does not have a native date data type. I'm experimenting with current Mozilla JS engine and I'll add support for...
Mark Alldritt
malldritt2000
Offline Send Email
Sep 22, 2004
8:46 pm

... Thank you, Mark. :) So I was trying to work this out with some hack-ish stuff, but I'm not getting very far: d = MacOS.appSelf().current_date(); s =...
Arthur Knapp
admiralnovia
Offline Send Email
Sep 23, 2004
6:47 pm

... Hi My guess is that the date coercions AppleScript provides are implemented in AppleScript rather than as AppleEvent Manager coercion handlers. This is ...
Mark Alldritt
malldritt2000
Offline Send Email
Sep 24, 2004
5:36 pm

... I have also thought of using the '.as' method of AEDesc objects, so that I could get a date string, but that doesn't seem to get me anywhere either: ME =...
Arthur Knapp
admiralnovia
Offline Send Email
Sep 23, 2004
7:20 pm

Ok, I may have figured this out. The difference between the correct day and time, and the converted day and time, is 19 hours, which sounds like a timezone...
Arthur Knapp
admiralnovia
Offline Send Email
Sep 24, 2004
4:49 pm

Whoops... please disregard the previous message. I am obviously way off: OS = MacOS.finder(); // mod-date of choosen file: "Feb 12, 2004 8:32 AM" // f =...
Arthur Knapp
admiralnovia
Offline Send Email
Sep 24, 2004
5:02 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help