Share this page

# lr_save_timestamp

Saves the current time in a parameter.

## C Language

    int lr_save_timestamp( const char* tmstampParam, [DIGITS,] LAST );

Example: lr_save_timestamp | Parameter Functions

## Arguments

Name | Comments
--- | ---
tmstampParam | The name of the parameter to store the timestamp.
DIGITS | Optional. The number of digits for the timestamp (integer). The default is 13. With DIGITS=13, the resolution is epoch time including milliseconds. The milliseconds are the last three digits. With DIGITS=10, the resolution is in seconds. If the value of DIGITS is less than 1 or more than 16, the default is used

lr_save_timestamp saves the current local timestamp of the computer running the script.

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

## Return Values

Returns LR_PASS (0) on success. Non-zero return value indicates failure.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: