- Code: Select all
(encode-universal-time 6 22 19 25 1 2002)
This encodes a calendar time into universal time. It's somewhat readable, but was wondering if there is anyway to just enter an hour? I am trying to make a very simplistic representation of an alarm clock and would love to be able to somehow type in:
(set-alarm 3) ; this would tell the alarm clock to go off at the next time it is 3:00. I would be willing to use military time if that is the only thing available to Common Lisp.
I'm assuming I might have to write my own function for this, but not sure how to go about doing this. Also, any way to make lisp make a noise?

