time.eh
Time and date. More...
Functions
Description
Time is represented by
Long
value of milliseconds passed since
"the epoch" (January 1, 1970, 00:00:00 GMT).
Function details
Returns current system time.
Converts time to a string.
String has the form
"dow mon dd hh:mm:ss zzz yyyy"
, where:
-
dow
is the day of the week (Sun, Mon, Tue, Wed, Thu, Fri, Sat).
-
mon
is the month (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec).
-
dd
is the day of the month (01 through 31), as two decimal digits.
-
hh
is the hour of the day (00 through 23), as two decimal digits.
-
mm
is the minute within the hour (00 through 59), as two decimal digits.
-
ss
is the second within the minute (00 through 59), as two decimal digits.
-
zzz
is the time zone (and may reflect daylight savings time).
If time zone information is not available, then zzz
is empty.
-
yyyy
is the year, as four decimal digits.
Returns year represented by this time.
Returns month represented by this time as value in range from 1 to 12.
Returns day of month represented by this time.
Returns day of week represented by this time as value in range from 1 to 7.
Value 1 corresponds to Sunday.
Returns hour of day represented by this time as value in range from 0 to 23.
Returns minute within hour represented by this time as value in range from 0 to 59.
Returns second within minute represented by this time as value in range from 0 to 59.
Returns millisecond within second represented by this time as value in range from 0 to 999.
Returns time constant corresponding to given date.