Datetime object

Property Description Access Type
Datetime.time Get the time as a string readonly string
Datetime.date Get the date as a string readonly string
Datetime.dayname Get the day name as a string readonly string
Datetime.monthname Get the month name as a string readonly string
Datetime.hour Get/set the hour readwrite number
Datetime.minute Get/set minutes readwrite number
Datetime.second Get/set the number of second readwrite number
Datetime.milliseconds get/set milliseconds of a date/time readwrite number
Datetime.day Get the day of the month readwrite number
Datetime.weekday Get/set the weekday readwrite number
Datetime.month Get/set the month readwrite number
Datetime.year Get/set the year readwrite number
Method Description Return value
Datetime.constructor() date/time representation Datetime
Datetime.format() format date/time to string string
Datetime.interval() Calculate a date/time interval number