chickadee » date-literals » read-date-literal

read-date-literal #!optional PORTprocedure

Reads a date/time literal from PORT, which defaults to the value of (current-input-port). The literal is converted to an SRFI-19 date using the first matching format template as follows:

  • #@~Y-~m-~dT~H:~M:~S~z
  • #@~Y-~m-~dT~H:~M:~S
  • #@~Y-~m-~d