September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
2
Task/Date-format/Zkl/date-format-1.zkl
Normal file
2
Task/Date-format/Zkl/date-format-1.zkl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
"%d-%02d-%02d".fmt(Time.Clock.localTime.xplode()).println()
|
||||
//--> "2014-02-28" (ISO format)
|
||||
2
Task/Date-format/Zkl/date-format-2.zkl
Normal file
2
Task/Date-format/Zkl/date-format-2.zkl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Time.Date.prettyDay(Time.Clock.localTime.xplode())
|
||||
//--> "Friday, the 28th of February 2014"
|
||||
4
Task/Date-format/Zkl/date-format-3.zkl
Normal file
4
Task/Date-format/Zkl/date-format-3.zkl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
y,m,d:=Time.Clock.localTime; D:=Time.Date;
|
||||
"%s, %s %d, %d".fmt(D.dayName(D.weekDay(y,m,d)),
|
||||
D.monthName(m), d,y)
|
||||
//-->"Friday, February 28, 2014"
|
||||
Loading…
Add table
Add a link
Reference in a new issue