Description

Converts a datetime to milliseconds since 1970

Example

tomillis('01-01-2024', 'dd-MM-yyyy')
 
Result: 1704063600000

Syntax

tomillis(datetime, format)

Parameters

Type Description
Datetime A string representing a datetime
Format The format of the datetime string