GetTime

Time
Aptilis 1

GetTime()

GetTime returns the time, in effect the number of seconds elapsed since January 1st, 1970.
Two other functions, ie. fillTimeArray and fillLocalTimeArray can transform this kind of value into something more meaningful: hours, minutes, seconds, days, months, years...

Return value:
The time, in seconds.

Example:

t = gettime()
print("Number of seconds since 1/1/70\n")
print("(As of this writing)\n")
print(t)
Result:
Number of seconds since 1/1/70
(As of this writing)
853188770.0000