Up |
_scienceDateDayNumber
Retrieve the number of days from the 1st january for any year.
Prototype :
fun [I I I] I
- I : an year : should be posterior or equal at 1582 (gregorian calendar)
- I : a month : between 1 and 12
- I : a day : between 1 and 28, 29, 30 or 31
Return : I this number or nil if error
See also :
Example :
fun main ()=
_showconsole;
_fooId _scienceDateDayNumber 2012 2 14; // 45
0;;