chickadee » srfi-19 » format-date

format-date DESTINATION DATE-FORMAT-STRING DATEprocedure

Displays a text form of the DATE on the DESTINATION using the DATE-FORMAT-STRING.

When the DESTINATION is #t the (current-output-port) is used, and the date object must be specified.

When the DESTINATION is a port it must be an output-port, and the date object must be specified.

When the DESTINATION is a number the (current-error-port) is the DESTINATION, and the DATE object must be specified.

When the DESTINATION is #f the result is returned as a string, and the DATE object must be specified.