DataFunctions.Date Method

The Date method converts a Date Variant to a string expression of the specified date, based on the specified locale. If successful, Date returns a string expression of the specified date value; otherwise, Null.

Syntax

DataFunctions.Date(Date, Locale)

Parameters

Date
Date Variant. The date to format.
Locale
Optional. This number specifies the locale to use to convert the date 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.