3 ms·
http://php.net/strtotime/ http://php.net/strtotime/ I don't mean to be a troll, but the fact that a simple function that has been available in other languages
by andr 18y ago
http://php.net/strtotime/ http://php.net/strtotime/
I don't mean to be a troll, but the fact that a simple function that has been available in other languages for years is only now making it to CL is a red flag for people considering learning Lisp.
- mahmud 18y agowhat the hell? this is not "just coming to lisp", it's something someone wrote as a personal hack. I upvoted it and commented to encourage more lispers to post here. Erik Naggum's essay on the subject is highly referenced and cited by people developing time and date libraries for other languages and systems: http://naggum.no/lugm-time.html http://naggum.no/lugm-time.html The premiere text on time and date algorithms IS written in Common Lisp: http://www.amazon.com/Calendrical-Calculations-Millennium-Edward-Reingold/dp/0521777526/ http://www.amazon.com/Calendrical-Calculations-Millennium-Ed... And here is a taste of what's out there; http://www.cliki.net/TIMER http://www.cliki.net/TIMER http://www.cliki.net/net-telent-date http://www.cliki.net/net-telent-date http://www.cliki.net/local-time http://www.cliki.net/local-time http://www.cliki.net/Date-Calc http://www.cliki.net/Date-Calc http://www.cliki.net/cl-l10n http://www.cliki.net/cl-l10n
- lispm 18y agoYeah, like the Lisp Machine from 1980. Command: (software-type) "Lisp Machine" Command: (time:parse "twenty-nine years before yesterday") 0 0 0 4 4 80 4 NIL :RELATIVE