Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
date-to-string
Converts a date to a string using an optional format
Parameter
Type
Description
self
date
The date to convert
format
string
The format string (optional)
return
string
The formatted date string