Page.RequestDate Method
The RequestDate method retrieves a value from a URL query string or form post variable and converts it to a date value (Date Variant) based on the specified or default locale.
Optionally, RequestDate also checks the date against a specified date range.
Syntax
Page.RequestDate(Name, Default, LowDate, HighDate, Locale)
Parameters
-
Name
-
The name of the URL query string or form post variable to retrieve.
-
Default
-
Optional. The date to return if the requested URL query string or form post variable does not exist or contains no value. If this parameter is not supplied, the method returns Null in this case.
-
LowDate
-
Optional. A date value that specifies the low end of the range against which to validate Name. The default value is Null, which means that this parameter is ignored.
-
HighDate
-
Optional. A date value that specifies the high end of the range against which to validate Name. The default value is Null; this parameter is ignored.
-
Locale
-
Optional. A number that specifies the locale to use to convert the date. If this value is not specified, RequestDate uses the value of the DataFunctions object’s Locale property.
Related Topics
© 1997-1998 Microsoft Corporation. All rights reserved.