All commands, alphabetic order; letter Y

This page contains the description of the following commands year-day-number,

(year-day-number date) (Lisp function)

The year-day-number function takes as argument a date and returns the number of the day in the year, starting at one. Example

[Endymion] (year-day-number #:date:#[2005 01 01 22 03 58])
1
[Endymion] (year-day-number #:date:#[2005 12 31 22 03 58])
365
[Endymion] (year-day-number #:date:#[2004 12 31 22 03 58])
366
[Endymion] (year-day-number 0)
year-day-number : argument is not a date : 0

Valid XHTML 1.0 Strict back to home page © INRIA 2005, 2006 Last modified $Date: 2008/08/05 15:10:34 $