I need to determine what week of the year it is.
For example..01/01/2004 is in week 1
01/31/2004 is in week 5.
Does'nt look like Javascript has a pre-built function for this? Anybody know how to accomplish this?
I was thinking perhaps determinining what day of the year it is (1-365) and then dividing by 7. But I dont think javascript has a method for that either.
Thanks.
For example..01/01/2004 is in week 1
01/31/2004 is in week 5.
Does'nt look like Javascript has a pre-built function for this? Anybody know how to accomplish this?
I was thinking perhaps determinining what day of the year it is (1-365) and then dividing by 7. But I dont think javascript has a method for that either.
Thanks.