Share this page

# Example: lr_save_timestamp

In this example, the timestamp is saved with the default length of 13 characters - the epoch time plus milliseconds.

       lr_save_timestamp("param", LAST );
       lr_output_message(lr_eval_string("{param}"));

Action.c(6): 1442490056250

In this example, the timestamp is saved and a length of 10 digits is specified - the epoch time in seconds.

       lr_save_timestamp("param", "DIGITS=10", LAST );
       lr_output_message(lr_eval_string("{param}"));

Action.c(9): 1442490056

In this example, the timestamp is saved and a length of 16 digits is specified - the epoch time plus microseconds.

       lr_save_timestamp("param", "DIGITS=16", LAST );
       lr_output_message(lr_eval_string("{param}"));

Action.c(14): 1442490600155749

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: