Page.RequestDateTime Method

The RequestDateTime method retrieves a value from a URL query string or form post variable and converts the it to a date/time value (Date Variant), based on the specified or default locale.

Optionally, RequestDateTime validates the date/time value against a minimum and maximum value that you specify.

Syntax

Page.RequestDateTime(Name, Default, LowDateTime, HighDateTime, Locale)

Parameters

Name
The name of the URL query string or form post variable to retrieve.
Default
Optional. The value 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.
LowDateTime
Optional. A value that specifies the low end of the range.
HighDateTime
Optional. A value that specifies the high end of the range.
Locale
Optional. A number that identifies the locale to be used to convert the date/time string. If this parameter is not specified, RequestDateTime uses the value of the DataFunctions object’s Locale property.

Related Topics


© 1997-1998 Microsoft Corporation. All rights reserved.