The time module contains functions for handling objects of type date. For more information about manipulating times and dates in Pyxplot, see Section 4.11. Many of the functions below take an optional timezone string as their final argument. This should be specified in the form Europe/London, America/New_York or Australia/Perth, as used by the tz database. A complete list of available timezones can be found here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If universal time is used, the timezone may be specified as UTC.
time.fromCalendar(year,month,day,hour,min,sec,<timezone>
The time.fromCalendar(year,month,day,hour,min,sec,<timezone>
time.fromJD(t
The time.fromJD(t
time.fromMJD(t
The time.fromMJD(t
time.fromUnix(t
The time.fromUnix(t
time.interval(t_2,t_1
The time.interval(t_2,t_1
t_1
t_2
time.intervalStr(t_2,t_1,format
The time.intervalStr(t_2,t_1,format
time.now()
The time.now() function creates a date object representing the current time.
time.sleep(t
The time.sleep(t
t
t
time.sleepUntil(t
The time.sleepUntil(t
time.string(t,<format>,<timezone>
The time.string(t,<format>,<timezone>
t