Arc Forumnew | comments | leaders | submitlogin
A more portable date function
8 points by CatDancer 5906 days ago | discuss
Here is a more portable date function. Add to ac.scm:

  (require (lib "date.ss"))

  (xdef 'date
    (lambda ()
      (parameterize ((date-display-format 'iso-8601))
        (date->string (seconds->date (current-seconds))))))