Open topic with navigation
|Example: web_save_timestamp_param||Correlation Functions for C|
Saves the current timestamp.
int web_save_timestamp_param( const char *tmstampParam, LAST );
|tmstampParam||The name of the parameter in which to store the timestamp.|
This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.
Parameterization is not applicable to this function.
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