STR_TO_DT Function

Converts date and time string data to date/time values.

Usage

Input Parameters

Returned Value

Keywords

Value Format Description Examples for May 1, 1992
1 MM*DD*[YY]YY 05/01/92
2 DD*MM*[YY]YY 01-05-92
3 ddd*[YY]YY 122,1992
4 DD*mmm[mmmmmm]*[YY]YY 01/May/92
5 [YY]YY*MM*DD 1992-05-01

Value Format Description Examples for 1:30 p.m.
-1 HH*Mn*SS[.SSSS] 13:30:35.25
-2 HHMn 1330


CAUTION: Date and time separators are specified with the !Date_Separator and !Time_Separator system variables. The STR_TO_DT function only recognizes the standard separators listed above. If any other separator is specified, this function does not work as expected.

Discussion

Example 1






Example 2

See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.