Format Local Time

The Format Local Time command formats a variable from a numerical type into a standard date formatted text variable. The following format will be used: “dd/mm/yyyy hh:mm:ss”

Parameters

  • Local Time - Variable in a numerical format with time and date contents
  • Returned Text - A target variable in the text format used for storing the formatted date information

Comments

Very useful in conjunction with the “Time convert Simulation to Local” command to record the times and dates of completed work items. Make sure that you check the box “Base simulation time on a date scale” in the Calendar menu.

Example

 Format Local Time lcl_number, lcl_text

This example transforms a date -stored as a number- in lcl_number into a normal date notation stored in lcl_text.

See Also