TimeToString

Kalipso - Form - Expressions - Functions - Functions Descriptions - Date Functions - TimeToString

This Function returns a <string> which is the specified Time formatted with the specified Format. The specified Time must be in format HHMMSS.

Parameters

  • Time <string> - Original string to be completed.

  • Format <string> - Choose one of the predefined options or combine HH, MM, and SS, where:

    • HH - Hour

    • MM - Minute

    • SS - Second

Examples

  • Example 1

TimeToString("093015", "HH:MM:SS") Result = 09:30:15

  • Example 2

TimeToString("093015", "HH:MM") Result = 09:30

  • Example 3

TimeToString("093015", "HH") Result = 09

  • Example 4

TimeToString("093015", "MM") Result = 03

Last updated