unixTime

The function returns number of seconds since 1970-01-01.

long
unixTime
(
string timeString = ""
)

Parameters

timeString string

String with the format 'YYYY-MM-DD hh:mm:ss' or 'YYYY-MM-DDThh:mm:ss'. If the string is empty, the function returns current time. By default, empty.

Meta