SystemTime
Description: |
baSystemTime returns the current time/date. | ||||||||||||||||||||||||||||||||||||||
Platforms: |
Windows and Macintosh | ||||||||||||||||||||||||||||||||||||||
Usage: |
Result = baSystemTime( Format ) | ||||||||||||||||||||||||||||||||||||||
Arguments: |
String. |
||||||||||||||||||||||||||||||||||||||
Returns: |
String. Returns the requested time/date. |
||||||||||||||||||||||||||||||||||||||
Examples: |
Director: Authorware: |
||||||||||||||||||||||||||||||||||||||
Notes: |
There are two predefined formats - "time" and "date" "time" will return the current time in 24 hour format with leading zeros - hours, minutes and seconds eg "230412". It will always be 6 characters long. "date" will return the date in year, month, day eg "19980321". It will always be 8 characters long, Other formatting is available. Any of these constants will be replaced by the appropriate time/date - any other characters will be returned as is.
Examples: "%d %B, %Y" - "2 June, 1998" "It is %M past %H on %A" - "It is 23 past 10 on Tuesday" "The time is %H:%0M:%0S" - "The time is 14:25:04"
|
||||||||||||||||||||||||||||||||||||||
See also: |
baSetSystemTime |