| Syntax |
date.timeString (date, includeSeconds)
|
| Params |
date is an optional parameter, a valid Frontier date or a string that can be coerced to a date, defaults to the current time.
includeSeconds is an optional parameter, a boolean, defaults to true.
|
| Action |
Returns a string representation of the time portion of the date.
|
| Returns |
A string representation of the time portion of the date.
|
| Examples |
date.timeString ()
» "7:57:58 AM"
date.timeString (includeSeconds:false)
» "7:57 AM"
date.timeString (clock.now () - (60 * 60 * 7), false)
» "12:58 AM"
date.timeString ("6/8/83; 9:04:22AM")
» "9:04:22 AM"
date.timeString (date.tomorrow (clock.now ()))
» "7:58:05 AM"
|
| Notes |
This verb is new in Frontier 5.1.5.
|
| See Also |
date.dayOfWeekToString
date.dayString
date.longString
date.monthToString
date.netStandardString
date.shortString
|