RE: lingo-l date and time

2005-09-23 Thread Sean Wilson
I don't see a TN about it so I'll see about having one posted. Thanks again for your tireless efforts on our behalf Tom. Cheers, -Sean. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email

Re: lingo-l date and time

2005-09-22 Thread Alex da Franca
Am 22.09.2005 um 03:33 schrieb Daniel Nelson: _movie.systemDate() thanks, somehow I missed that. in the _movie object I tried it only as property _movie.systemdate, which yields an error. it makes totally sense, that it is a function rather than a property, as it creates and returns an

RE: lingo-l date and time

2005-09-22 Thread Tim Welford
@mail4.fcgnetworks.net Subject: lingo-l date and time Is there a dot-syntax way of getting the year, month, and day? I can get it by parsing _system.date(), but the year/month/day order depends on the system's country settings. Also, is there a way to get the time in 24-hour format? i.e., 17:05:32

Re: lingo-l date and time

2005-09-22 Thread Daniel Nelson
Yes. It's a bit weird. I just found it by trial and error. Regards, Daniel _movie.systemDate() Thanks for that. Would you agree that this particular method (property?) belongs more aptly to the _system object? [To remove yourself from this list, or to change to digest mode, go to

RE: lingo-l date and time

2005-09-22 Thread Thomas Higgins
Thanks for that. Would you agree that this particular method (property?) I would too and as such I long ago filed a bug against that but don't see a TN about it so I'll see about having one posted. Cheers, Tom Higgins - Technical Product Manager Macromedia Director and the Shockwave Player

Re: lingo-l date and time

2005-09-21 Thread Sean Wilson
Is there a dot-syntax way of getting the year, month, and day? I can get it by parsing _system.date(), but the year/month/day order depends on the system's country settings. put (the systemDate).day put (the systemDate).month put (the systemDate).year Also, is there a way to get the time in

Re: lingo-l date and time

2005-09-21 Thread Luke Wigley
Hi Kerry , You can from a dateObject (which is in a standard format) to get the year/month/dayseconds from midnight. dateObj= (the systemDate) or dateObj = date(2004, 12, 31) or dateObj = date(20041231) or if you want to include hours/minutes/seconds, it seems that you have to set the

Re: lingo-l date and time

2005-09-21 Thread Cole Tierney
At 11:34 AM +1200 9/22/05, Sean Wilson wrote: -- with some trimming (leading/trailing whitespace, fractional seconds): put framesToHMS( (the systemDate).seconds, 1, 0, 0 ) Great tip! I was just about to post a big old ugly lingo one-liner (mostly as a joke!). Oh what the heck (watch for line

Re: lingo-l date and time

2005-09-21 Thread Alex da Franca
Am 22.09.2005 um 01:34 schrieb Sean Wilson: the systemDate seems to be another of the omissions in the current round of docs but remains *much* more useful than most of the other date/time format offerings. not only it is missing in the docs, but also is this extremely useful global

Re: lingo-l date and time

2005-09-21 Thread Daniel Nelson
_movie.systemDate() Regards, Daniel Alex da Franca wrote: Am 22.09.2005 um 01:34 schrieb Sean Wilson: the systemDate seems to be another of the omissions in the current round of docs but remains *much* more useful than most of the other date/time format offerings. not only it is