TeJay,
 
datetime::get-day-of-year was indeed returning the day of the week. This is now fixed in cvs.
 
Thanks for the report !
 
Gert


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of TeJay
Sent: woensdag 29 december 2004 20:42
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] problem with datetime::get-day-of-year()

I am using the function datetime::get-day-of-year(datetime::now()).
The value returned from datetime::now() is '12/29/2004 13:43:39'.
Using datetime::get-day-of-year(datetime::now()) the value returned is 3.
I was expecting something like 364
 
I then tried datetime::get-day-of-week(datetime::now()).
It returned the same value of 3.
 
Is there a problem with datetime::get-day-of-year() or am I using it incorrectly?
Using current release 0.85.1793.0
 
Thanks.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to