Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Everybody,
Can any one tell me how to get the number of days in the month, where we will be providing the month and year,
I am using sql reporting services for generating the reportes

Thanks in Advance
Shiv
Posted

1 solution

Get Number of Days in a Month Function - SQL[^]

Select Statement for Get Number of Days in a Month[^]

I must tell you I got these links by Googling[^] (The very first guideline for asking a question).
 
Share this answer
 
Comments
shivtk 17-Aug-10 8:42am    
Hi thanks for the reply,
But i wan the method in the reporting service tool.
I mean is there any property which directly converts it.
Ankur\m/ 17-Aug-10 8:47am    
I am sorry but I have not worked on SQL Reporting Service, so will not be able to help you on this. Have you Googled it?
shivtk 17-Aug-10 9:13am    
yah, but i am not getting the up to mark result, like in vb.net there is a method like system.datetime.DaysInMonth some thing like this.....

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