There's plenty of Lingo that returns time and date in a variety of formats.
Karina had already posted that on a previous message. Here's her post. It's
straight out of the online help that ships with Director.
<snip>
seconds:
dateObject.seconds
Description:
Property; gives the seconds passed since midnight of the given date object.
Only the systemDate , creationDate, and modifiedDate have a default seconds
value. You must specify a seconds value for date objects that you create.
This property can be used with the creationDate and the modifiedDate for
source control purposes.
Example:
These staments display the seconds since midnight on the authoring
computer:
mydate = the systemdate
put mydate.seconds
-- 1233
date() (formats):
date(ISOFormatString)
date(ISOFormatInteger)
date(ISOFormatIntegerYear, ISOFormatIntegerMonth, ISOFormatIntegerDay)
Description Function and data type; creates a standard, formatted
date
object instance for use with other date object instances in arithmetic
operations and for use in manipulating dates across platforms and in
international formats.
When creating the date, use four digits for the year, two digits for the
month, and two digits for the day. The following expressions are
equivalent:
integer: set vacationStart = date(19980618)
string: set vacationStart = date("19980618")
comma separated: set vacationStart = date(1998, 06, 18)
Addition and subtraction operations on the date are interpreted as the
addition and subtraction of days.
The individual properties of the date object instance returned are:
#year Integer representing the year
#month Integer representing the month of the year
#day Integer representing the day of the month
Example These statements create and determine the number of days
between two
dates:
myBirthDay = date(19650712)
yourBirthDay = date(19450529)
put "There are" && abs(yourBirthday - myBirthday) && "days between our
birthdays."
Example These statements access an individual property of a date:
myBirthDay = date(19650712)
put "I was born in month number"&&myBirthday.month
</Snip>
Is this what you were looking for?
Regards,
Karina Steffens,
Lead Programmer
<snip>
Is there any lingo (D7 or 8) equivalent or approximation for the Flash UTC
date functions?
<snip>
Regards,
Pranav
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]