Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can i find number of days in a given year and month [modified] Pin
Ahmed Khallaf1-Jun-09 21:40
Ahmed Khallaf1-Jun-09 21:40 
GeneralRe: how can i find number of days in a given year and month Pin
Pete O'Hanlon1-Jun-09 21:54
mvePete O'Hanlon1-Jun-09 21:54 
GeneralRe: how can i find number of days in a given year and month Pin
Rajesh R Subramanian1-Jun-09 22:01
professionalRajesh R Subramanian1-Jun-09 22:01 
GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 22:02
musefan1-Jun-09 22:02 
GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 22:05
Ahmed Khallaf1-Jun-09 22:05 
GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 21:58
musefan1-Jun-09 21:58 
GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 22:04
Ahmed Khallaf1-Jun-09 22:04 
GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 22:09
musefan1-Jun-09 22:09 
Ok this is what you should use instead...


if(year % 4 == 0 && year % 100 == 0 ? year % 400 == 0 : true)//hope you get that logic
   //is leap year
else
   //not leap year


Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 22:14
Ahmed Khallaf1-Jun-09 22:14 
AnswerRe: how can i find number of days in a given year and month Pin
Guffa1-Jun-09 22:43
Guffa1-Jun-09 22:43 
GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 22:45
musefan1-Jun-09 22:45 
AnswerRe: how can i find number of days in a given year and month Pin
stancrm1-Jun-09 22:07
stancrm1-Jun-09 22:07 
GeneralRe: how can i find number of days in a given year and month [modified] Pin
Ahmed Khallaf1-Jun-09 22:09
Ahmed Khallaf1-Jun-09 22:09 
GeneralRe: how can i find number of days in a given year and month Pin
Guffa1-Jun-09 22:38
Guffa1-Jun-09 22:38 
AnswerRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 23:21
Ahmed Khallaf1-Jun-09 23:21 
GeneralRe: how can i find number of days in a given year and month Pin
Guffa2-Jun-09 1:25
Guffa2-Jun-09 1:25 
GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf2-Jun-09 3:10
Ahmed Khallaf2-Jun-09 3:10 
QuestionHow to draw a pdf or postscript files to a graphics object Pin
MarkPhB1-Jun-09 21:05
MarkPhB1-Jun-09 21:05 
QuestionHow to paint a portion of IE window until it gets fully loaded with the requested URL? Pin
svt gdwl1-Jun-09 21:04
svt gdwl1-Jun-09 21:04 
QuestionProject deployment Pin
KIDYA1-Jun-09 21:01
KIDYA1-Jun-09 21:01 
AnswerRe: Project deployment Pin
Vimalsoft(Pty) Ltd1-Jun-09 21:08
professionalVimalsoft(Pty) Ltd1-Jun-09 21:08 
QuestionPerl & c#.net Pin
balu123451-Jun-09 20:44
balu123451-Jun-09 20:44 
QuestionRe: Perl & c#.net Pin
monstale1-Jun-09 20:58
monstale1-Jun-09 20:58 
QuestionHow to change Connection string at runtime for window application while using Linq to Sql Pin
Sanket.Patil1-Jun-09 20:40
Sanket.Patil1-Jun-09 20:40 
AnswerRe: How to change Connection string at runtime for window application while using Linq to Sql Pin
Henry Minute2-Jun-09 2:16
Henry Minute2-Jun-09 2:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.