StringToDateTime

Description

Creates a DateTime value from a character string.

Syntax

StringToDateTime ( datetimestr, fmt)

Arguments

datetimestr is a string representation of a datetime, 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.