web.saveTimestampParam

Example Correlation Functions for JavaScript

Saves the current timestamp.

Syntax

web.saveTimestampParam( stampParam );
Argument Description
stampParam The name of the parameter in which to store the timestamp.

Return Values

Not applicable

Parameterization

Parameterization is not applicable to this function.

General Information

web.saveTimestampParam saves the current local timestamp of the computer running the script. In some applications, VuGen replaces all non-empty timestamps in the script with a parameter. To save the value of this parameter, VuGen automatically generates a call to web.saveTimestampParam. The value saved is the number of milliseconds since midnight January 1st, 1970.

The timestamp cannot be stored as an integer or long integer.

In general, a user will not manually enter this function. For more information about handling time, see Date and Time Functions

Example

web.saveTimestampParam ( 'tStamp' );