TODATE

Converts text into a date/time value

TODATE( text, [format] )

Convert text into a date/time value

Arguments

Argument

Description

text

Text to convert to date

[format]

Optional: strftime format of text. See strftime documentation for more information: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior

Output

Date/time object corresponding to text

Examples

TODATE("2015-12-22")
>> 12/22/2015

Last updated