Module datetime | Tarantool
Check out the new release policy

Module datetime

Since 2.10.0.

The datetime module provides support for the datetime and interval data types. It allows creating the date and time values either via the object interface or via parsing string values conforming to the ISO-8601 standard.

Below is a list of the datetime module functions and methods.

Name Use Create a datetime object from a table of time units.
format() Convert the standard presentation of a datetime object into a formatted string.
totable() Convert the information from a datetime object into the table format.
set() Update the field values in the existing datetime object. Create an interval object from a table of time units.
Found what you were looking for?