Method Locale.Language.abstract()->date()
- Method
date
stringdate(inttimestamp,string|voidmode)- Description
Returns the date for posix time
timestampas a textual string.- Parameter
mode Determines what kind of textual string should be produced.
"time"I.e. "06:36"
"date"I.e. "January the 17th in the year of 2002"
"full"I.e. "06:37, January the 17th, 2002"
- Example
> Locale.Language.eng()->date(time()); Result: "today, 06:36"