In recipe TimeToday we did exactly this but only for the current date.
How about if we wanted to get the date, and time (DMYHMS) associated
to a particular number of seconds? Once more we would use seconds->date.
In recipe TimeToday we discussed how to convert a date structure to a
string. Convert in th opposite direction is also possible, and
useful. Here we use SRFI 19:
the resulting values will be: "Mon Apr 26 18:26:18-0500 2004", and
"2004-04-26T18:26:18-0500", which represent the same date, and time
but using two different formats described in ISO-8601.
Important: Note that the second argument to string->date is a
formatting string that must match the format of the actual date-hour
string used as the first argument.