web_save_timestamp_param

Example: web_save_timestamp_paramCorrelation Functions for C

Saves the current timestamp.

int web_save_timestamp_param( const char *tmstampParam, LAST );
Argument Description
tmstampParam The name of the parameter in which to store the timestamp.

Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

Parameterization

Parameterization is not applicable to this function.

General Information

web_save_timestamp_param 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_save_timestamp_param. 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

Function lr_save_timestamp is can be used in any C-language script. With lr_save_timestamp you can also specify the size of the returned value. For example, you can request seconds resolution instead of millisecond resolution.