Lecture overview -- Keyboard shortcut: 'u'  Previous page: The <kbd>letrec</kbd> namebinding construct -- Keyboard shortcut: 'p'  Next page: Conditional expressions [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home    Lecture 3 - Page 8 : 42
Functional Programming in Scheme
Name binding, Recursion, Iteration, and Continuations
LAML time functions

The function how-many-days-hours-minutes-seconds is part of the LAML time library, which we here illustrate by means of a number of examples.

Expression

Value

(current-time)
999789132
(time-decode 1000000000)
(2001 9 9 3 46 40)
(time-decode 0)
(1970 1 1 2 0 0)
(time-interval 1000000000)
(31 8 2 5 1 46 40)
(weekday (current-time))
Thursday
(danish-week-number (current-time))
36

Example use of some of the LAML time library functions