Contents
Index
Display Legacy Contents
Print
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.
Example 1
Example 2
Example 3
TimeToString("093015", "
HH:MM:SS
")
Result
= 09:30:15
TimeToString("093015", "
HH:MM
")
Result
= 09:30
TimeToString("093015", "
HH
")
Result
= 09
Example 4
TimeToString("093015", "
MM
")
Result
= 03
See also
Ascii
Base64 Decode
Base64 Encode
Charact
Complete
DateToString
Decode
Encode
Extract String
FileExtractPart
Find
FullEncode
Get GUID
JSONDecode
JSONEncode
Left
Length
Lower-Case
Mask Number
Middle
MLText
NumToString
Replace
Right
Set String
String Count
Trim
Upper-case
URLDecode
URLEncode
XMLDecode
XMLEncode
Samples
Updated
: 11/5/2014 11:51 AM
Kalipso
Download
Support
Where To Buy
Suggestions
Contact Us
Sysdev website
Kalipso website