Gambas Documentation - /dev/api/cat/date

/dev/api/cat/date

# Date & Time Management

`GB_DATE_SERIAL` | Splitted Date/time value structure.
`GB_DATE` | Date/time value datatype.
`GB.GetTime` | Returns the current time in seconds.
`GB.MakeDate` | Makes a Gambas date/time value from its components.
`GB.MakeDateFromTime` | Makes a date/time value from a Unix time.
`GB.SplitDate` | Splits a date/time value into its components.

## Overview

These functions allow you to use the Gambas date & time functions from a component.

- `GB.GetTime` is an equivalent of Timer or Now.

- `GB.MakeDate` is an equivalent of Date.

- `GB.SplitDate` is an equivalent of Year, Month, Day, Hour...