company logo

DATE_TIME - Timestamp (internal class - not supported as interface)

A date/time field (timestamp) is considered as basic data type even though it seems to be structured structured consisting of date and time. The size for the date time field will influence the presentation (to string conversion), but not the storage size. Timestamps with the maximum size of 22 are displayed as

2002/09/14 23:59:59:99

Lower size timestamps will cut the string at the end. Date and a time value can be accessed as structure members of the DATETIME structure.

DATETIME last_update;

last_update.date = Date().now();

last_update.time = Time().now();