can't get the Date.today().set() to work

23 views
Skip to first unread message

Fares Farhan

unread,
Oct 28, 2009, 1:08:08 AM10/28/09
to Datejs - A JavaScript Date Library
am I doing a mistake here?
I'm trying to set the date with something like :

var dateConfig = {minute:35, hour:13, day:24, month:10, year:2009};
dateConfigDate = Date.today().set(dateConfig);

but I'm keep getting the today's day (the value of the day should be
24 as its explicitly set in the dateConfig JSON)..

anyone got the same problem?
Reply all
Reply to author
Forward
0 new messages