Support

Equilla Formula Language

DateConvert

Converts a given date time value into a given period.

Inputs

Date
Numeric: The date to convert.
Period
Numeric: The target time base.

Examples

Converts the given date time value to a one minute based timestamp and sends the result to the output window
Print( CStr( DateConvert( DateTime, 60) ) );