![]() ![]() ![]() |
Returns a date/time object from a string.
See also IsDate and IsNumericDate.
ParseDateTime(string1 [, string2 ] )
String being converted to date/time object.
POP or STANDARD. POP takes the date/time object passed from a POP mail server and converts it to GMT (Greenwich Mean Time). Enter STANDARD or leave empty for no conversion.
ParseDateTime is similar to CreateDateTime except that it takes a string instead of specifically enumerated date/time values.
Both ParseDateTime and CreateDateTime are provided primarily to increase the readability of code in compound expressions.
Years from 0 to 29 are interpreted as 21st century values. Years 30 to 99 are interpreted as 20th century values.
When passing a date/time value as a string, make sure it is enclosed in quotes. Otherwise, it is interpreted as a number representation of a date/time object, returning undesired results.
![]() ![]() ![]() |
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.