You are here: irt.org | About | Feedback | 4868 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q1773
Sent by
Rahul on Wednesday August 01, 2007 at 07:28:22
Worth:
Worth reading
Length:
Technical:
Comments:
Hi,
It is very usefull script but still some problem is there.
when any end of month come in between start and ened day. it calculates wrong end date.
just check it with this.
document.write(days_between('31-08-2007', 3))
>>>> returns 4/9/2007 = wrong
document.write(days_between('31-08-2007', 4))
>>>> returns 5/9/2007 = wrong
document.write(days_between('02-08-2007', 2))
>>>> returns 3/8/2007 = right
Other feedback on 'irt.org FAQ Knowledge Base Q1773' - show all