J
Jay
Hello all,
I've searched through the posts, but I can't seem to find an answer so I'm
posting my question.
I'm looking for a way to determine the date range (first and last day) of a
week when given the week number.
So if I'm given week 25 of 2007, I would find the first day is June 18, 2007
to June 24, 2007 (assuming first day of the week is Monday).
All I can think of is to count up from Jan. 01, 2007 and if it isn't the
right week number, keep counting up until I find the first date that matches
the week number.
Just curious is anyone knows of an existing (or more elegant) way to
determine the date range of a week.
Any suggestions are appreciated.
Thanks,
Jay
I've searched through the posts, but I can't seem to find an answer so I'm
posting my question.
I'm looking for a way to determine the date range (first and last day) of a
week when given the week number.
So if I'm given week 25 of 2007, I would find the first day is June 18, 2007
to June 24, 2007 (assuming first day of the week is Monday).
All I can think of is to count up from Jan. 01, 2007 and if it isn't the
right week number, keep counting up until I find the first date that matches
the week number.
Just curious is anyone knows of an existing (or more elegant) way to
determine the date range of a week.
Any suggestions are appreciated.
Thanks,
Jay