Views:

Description

Converts a string to a Datetime field with the Kind set to UTC.

 

Signature

CDate('inputstring','lcid')

 

Example 1

Converts the string to a date.

CDate('2012 09 24 05:47')

Example 2

Converts the string to a date using an LCID of 1033 (United States - English)

CDate('2012 09 24 05:47', 1033)