Anyone know where I can find the right syntax to display the week number?<BR><BR>Like: weeknumber(weeknumber(theDate)
in the vbscript reference.<BR><BR>something like WeekDay(NOW())<BR>...check the reference.
I did check the docs before I posted and couldn't find the week number.<BR><BR>BTW your code returns the day number of the week. Wednesday = 4 but thanks anyway.
wooops..<BR><BR>mea culpa, guess i need a drink<BR><BR>well<BR><BR>take and use datediff from the beginning of the year to whatever your date is.<BR><BR>the number will be the week # in the year.
that I am not so stupid now, doesn't it.
month? year? day? week? hour?....<BR><BR>
what do you think?<BR><BR>drinkin much lately? sheesh<BR><BR>use days and then divide by 7 if there is a remainder, add 1 and you will get the week number
hehehe<BR><BR>Better to give the user more info....noticed the link in the other post so i guess that was a wasted post.<BR><BR>