The normal external representation for time is the time string, as described above. The procedures in this section generate alternate external representations of time which are more verbose and may be more suitable for presentation to human readers.
These procedures return strings containing external representations of the date and time, respectively, represented by decoded-time. The results are implicitly in local time.(decoded-time/date-string (local-decoded-time)) => "Tuesday March 30, 1999" (decoded-time/time-string (local-decoded-time)) => "11:22:38 AM"
Returns a string representing the given day-of-week. The argument must be an exact non-negative integer between
day-of-week/long-stringreturns a long string that fully spells out the name of the day.
day-of-week/short-stringreturns a shortened string that abbreviates the day to three letters.(day-of-week/long-string 0) => "Monday" (day-of-week/short-string 0) => "Mon" (day-of-week/short-string 3) => "Thu"
Returns a string representing the given month. The argument must be an exact non-negative integer between
month/long-stringreturns a long string that fully spells out the name of the month.
month/short-stringreturns a shortened string that abbreviates the month to three letters.(month/long-string 1) => "January" (month/short-string 1) => "Jan" (month/short-string 10) => "Oct"