Please enable JavaScript to view this site.

Convert the specified time to a string, according current locale (international) settings.

Syntax

timeToString(int hh, int mm, int ss): string

timeToString(int hh, int mm, int ss, int fmt): string (#2)

hh

Hour number (0-23)

mm

Minutes number (0-59)

ss

Seconds number (0-59)

fmt

Time format code (#1)

Result

Return generated string, or "" on failure

Notes

From RDE v3.54.1-21, there is an overload for this function (#2) you can specifiy the format (#1).

Available time format code (#1) are the following:

Label

Description

X_TextDate

Default format

X_ISODate

ISO 8601 extended format

X_LocalDate

Locale dependent format

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC