July 22, 2010 at 3:55 am
Date Format : (dd/mm/yyyy)
My week is strat from saturday to friday
and im enter Fromdate - 1/12/2010 and Todate - 21/7/2010 that giving me output will be current week number
onething im enter Fromdate - 1/12/2010 and Todate - 21/7/2010, so that not consider from 1/12/2010 - 6/12/2010(week) but it consider saturday to friday(week)
thank u..
July 22, 2010 at 4:01 am
Vaghasiya Nilesh (7/22/2010)
...and im enter Fromdate - 1/12/2010 and Todate - 21/7/2010 that giving me output will be current week number
...
Your question is not very clear.
To get number of weeks between to dfates you can use:
DATEDIFF(week, FromDate, ToDate)
July 22, 2010 at 2:01 pm
What part of your question remains unanswered based on my post on the other thread covering the very same issue??
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply