chickadee » srfi-19 » scan-date

scan-date SOURCE TEMPLATE-STRINGprocedure

Reads a text form of a date from the SOURCE, following the TEMPLATE-STRING, and returns a date object.

When the SOURCE is #t the (current-input-port) is used.

When the SOURCE is a port it must be an input-port.

When the SOURCE is string it should be a date text form.