Re: [NAnt-users] Date/Time Functions

2010-03-28 Thread Charles Chan
Output: [echo] month: 3 [echo] month: 03 I admit it's a bit of a hack, but it get's the job done (until a proper fix is implemented). I hope this helps. Regards, Charles --- On Mon, 3/29/10, Ann Chaplinskaya wrote: From: Ann Chaplinskaya Subject: [NAnt-users] Date/Time

[NAnt-users] Date/Time Functions

2010-03-28 Thread Ann Chaplinskaya
Hello all, In my Nant script I use datetime::get-month, datetime::get-hour functions and others DateTime functions, but the dates are represented in /m/d/ and h/m/s format (eg 2010_3_2, 3-2-6), but I need /mm/dd , hh/mm/ss , like this 2010_03_02 03-02-06. Can anybody help? Wha