Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
time-to-string
Converts a time to a string using the specified format.
Parameter
Type
Description
self
time
The time to convert
format
string
The format pattern to use for formatting
return
string
The formatted time string