View previous topic :: View next topic |
Author |
Message |
showkath Beginner
Joined: 23 Mar 2005 Posts: 17 Topics: 7
|
Posted: Wed May 04, 2005 5:51 am Post subject: Week number of a year according to MS outllook calendar |
|
|
Hi all,
Can anyone help me to solve the following:
I want to find out the week number for the given date as per
MS outlook Calendar calculation in DB2.
For example,
1) if date is 01-jan-2005, then week number is 52
since that week spreads across the years 2004 and 2005.
i.e the date falls on other days other than sunday then
1st jan corresponds to last week of the previous year
2) if date is 01-jan-2006, the week number is 01. i.e the date falls of
sunday means than that week corrsponds to current year
Thanks in advance. _________________ Regards,
Showkath
-----------------------------------------------------
Our opinions do not really blossom into fruition until we have expressed them to someone else - Mark Twain |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
showkath Beginner
Joined: 23 Mar 2005 Posts: 17 Topics: 7
|
Posted: Wed May 04, 2005 10:26 pm Post subject: |
|
|
Dear Kolusu,
Thanks in bunch.
Regards,
Showkath _________________ Regards,
Showkath
-----------------------------------------------------
Our opinions do not really blossom into fruition until we have expressed them to someone else - Mark Twain |
|
Back to top |
|
|
|
|