fn.formatTime( $value as String, $picture as String, [$language as String], [$calendar as String], [$country as String] ) as String
The given time |
The desired string representation of the given time |
The desired language for string representation of the time
|$calendar||The only calendar supported at this point is "Gregorian" or "AD".|
|$country||$country is used the specification to take into account country specific string representation.|
If the specified picture string includes a fractional second width that is seven or more decimal places, then the fractional seconds are truncated (not rounded) on the seventh and greater width.
fn.formatTime(fn.currentTime(), "[H01]:[m01]:[s01]:[f01]") => 10:52:09:00 fn.formatTime(fn.currentTime(), "[H01]:[m01]:[s01]:[f01]","en","AD","US") => 10:52:33:00