Broken-down values of a moment in time.
Second resolution.
int |
$usec
@public
| microseconds, 0 - 999'999
|
int |
$sec
@public
| seconds, 0 - 59
|
int |
$min
@public
| minutes, 0 - 59
|
int |
$hour
@public
| hour, 0 - 23
|
int |
$day
@public
| day of the month, 1 - 31
|
int |
$month
@public
| month, 1 - 12
|
int |
$year
@public
| year, negative for BC
|
int |
$weekDay
@public
| day of the week, 1 (Sunday) - 7 (Saturday)
|
int |
$yearDay
@public
| day of the year, 1 - 366
|
TIME.Dst |
$dst
@public
| information about daylight saving time
|
|
|
NEW() @public | Create a new object using the current time and system time zone.
|
|
NEW(empty) @public | Create a new object. When empty is TRUE all fields are zero.
|
|
NEW(usec) @public | Create a new object using the time usec and using the system time
zone.
|
|
$getUsec()
int @public | Get the time stored in the object as micro seconds.
|
|
$ToString()
string @public | Return the time in international format: YYYY/MM/DD hh:mm:ss.
|
|
$toStringDash()
string @public | Return the time in international format, but using dashes: YYYY-MM-DD
hh:mm:ss.
|
|
$toStringShort()
string @public | Return the time in global English short format: Day, YYYY Mon DD
hh:mm:ss.
|
|
$toStringFull()
string @public | Return the time in global English format: Weekday, YYYY Month DD
hh:mm:ss.
|
|
|
fromString(t)
TIME.Values @public | Create a TIME.Values from a string like it is returned from
$ToString() or $toStringDash().
|
|