DataFunctions.DateTime Method
The DateTime method converts a Date Variant to a string expression of the Date value, based on the specified locale. If successful, DateTime returns a string expression of the specified date/time value; otherwise, Null.
Syntax
DataFunctions.DateTime(DateTime, Locale)
Parameters
-
DateTime
-
Date Variant. The date/time value to convert.
-
Locale
-
Optional. This number specifies the locale to use to convert the Date Variant to a string. For a list of valid locale values, see Hexadecimal Locale Identifiers. If this parameter is not specified, the value of the DataFunctions object’s Locale parameter is used.
Related Topics
© 1997-1998 Microsoft Corporation. All rights reserved.