Previous in Contents Next in Contents

Page.RequestTime Method

The RequestTime method retrieves a value from a URL query string or form post variable and converts the string to a Date Variant, based on the specified or default locale.

Optionally, RequestTime also checks the time against a specified range.

Syntax

Page.RequestTime(Name, Default, LowTime, HighTime, Locale)

Parameters

Name
The name of the URL query string or form post variable to retrieve.
Default
Optional. The time value to return if the specified query string or form post variable does not exist or contains no value. If this parameter is not supplied, then RequestTime returns Null in this case.
LowTime
Optional. A time value that specifies the low end of the range against which to validate Name. The default is no low-end validation.
HighTime
Optional. A time value that specifies the high end of the range against which to validate Name. The default is no high-end validation.
Locale
Optional. A number that specifies the locale to use to convert the date/time value. If this value is not specified, RequestTime uses the value of the DataFunctions object's Locale property.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.