Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i have a date(format 10/5/2011) how will i find the beginning date and end date of that week,and also beginning date and end date of that month and year.

any help would be appreciated,
-G-
Posted

 
Share this answer
 
Comments
girish sp 20-Oct-11 7:25am    
thanks.
Anuja Pawar Indore 20-Oct-11 7:43am    
Welcome girish
ASP.NET has the answer: Get Current week starting and end date[^]
One of the answer also contains code for month and year.
 
Share this answer
 
Comments
Praveen Kullu 20-Oct-11 6:14am    
Good Links +5...
André Kraak 20-Oct-11 6:36am    
Thanks.
girish sp 20-Oct-11 7:25am    
thanks
André Kraak 20-Oct-11 7:26am    
Your welcome, always glad to help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900