Method Locale.Language.abstract()->date()
- Method
date
string
date(int
timestamp
,string
|void
mode
)- Description
Returns the date for posix time
timestamp
as 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"