|
List Info
Thread: -=(ASP-Support-Group)=- Re: get date from week number
|
|
| -=(ASP-Support-Group)=- Re: get date
from week number |

|
2006-05-29 22:01:15 |
|
| Hi
Robert,
thanks for the reply - but i dont actually have a "given date" - all i
have is the week number, and i am trying to get to a date (Sunday, for
example)
thanks
Use
the DatePart() function to get the weekday value of the given date, and
that will tell you a number (1 - 7) that tells you which day of the week
it is. From there, just add or subtract to get the number of days you need
to add to the date to make it the day of the week that you are looking
for.
Robert.
--- In ASP-Support-Group@yahoogroups.com,
"Moshe Tapnack" <elists ...> wrote: > > Hi
all, > > i know how to get a weeknumber from a date, but
what about getting an > approximate date, say the first or last day of
the week, based on a given > week number? > > any
help appreciated! > Thanks, >
Moshe >
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|