Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Date-manipulation/EchoLisp/date-manipulation.l
Normal file
9
Task/Date-manipulation/EchoLisp/date-manipulation.l
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(define my-date (string->date "March 7 2009 7:30 pm EST"))
|
||||
→ Sun Mar 08 2009 01:30:00 GMT+0100 (CET)
|
||||
|
||||
(date-add! my-date (* 12 3600))
|
||||
→ Sun Mar 08 2009 13:30:00 GMT+0100 (CET)
|
||||
(string->date my-date)
|
||||
|
||||
(date->string my-date)
|
||||
→ "8/3/2009 13:30:00" ;; human localized, Paris time.
|
||||
Loading…
Add table
Add a link
Reference in a new issue