StringToDate

Description

Creates a Date from a character string.

Syntax

StringToDate ( str, fmt)

Arguments

str is a string representation of a date, and

fmt is a string identifying the format of str.

Remarks

Refer to the section titled Date and Time Format Strings for more information on the meaning of the fmt argument.

StringToDate cannot perform conversions on DateTime strings. Use StringToDateTime.