Click here to Skip to main content
15,921,169 members
Home / Discussions / C#
   

C#

 
AnswerRe: Connection Error Pin
Stephan Samuel8-Jun-06 0:50
Stephan Samuel8-Jun-06 0:50 
AnswerRe: Connection Error Pin
alyeasad8-Jun-06 2:05
alyeasad8-Jun-06 2:05 
AnswerRe: Connection Error Pin
alyeasad8-Jun-06 2:09
alyeasad8-Jun-06 2:09 
AnswerRe: Connection Error Pin
pirogramci8-Jun-06 3:02
pirogramci8-Jun-06 3:02 
QuestionUrgent Pin
Shiv57-Jun-06 23:39
Shiv57-Jun-06 23:39 
AnswerRe: Urgent Pin
Colin Angus Mackay8-Jun-06 0:44
Colin Angus Mackay8-Jun-06 0:44 
AnswerRe: Urgent Pin
rfjeld8-Jun-06 0:52
rfjeld8-Jun-06 0:52 
AnswerRe: Urgent Pin
J4amieC8-Jun-06 1:08
J4amieC8-Jun-06 1:08 
GeneralRe: Urgent Pin
BoneSoft8-Jun-06 4:54
BoneSoft8-Jun-06 4:54 
JokeRe: Urgent Pin
Koushik Biswas8-Jun-06 8:16
Koushik Biswas8-Jun-06 8:16 
QuestionSetting default document in IIS 6.0 from commandline [modified] Pin
BhaskarJha7-Jun-06 23:30
BhaskarJha7-Jun-06 23:30 
QuestionListBox [modified] Pin
Nafiseh Salmani7-Jun-06 22:58
Nafiseh Salmani7-Jun-06 22:58 
AnswerRe: ListBox [modified] Pin
rfjeld7-Jun-06 23:23
rfjeld7-Jun-06 23:23 
QuestionProblem in getting value from Un-bounded DataGridViw. Pin
Mairaaj Khan7-Jun-06 22:13
professionalMairaaj Khan7-Jun-06 22:13 
QuestionPlease HELP!!!!!!! Pin
DampaZGB7-Jun-06 21:59
DampaZGB7-Jun-06 21:59 
AnswerRe: Please HELP!!!!!!! Pin
NaNg152417-Jun-06 22:10
NaNg152417-Jun-06 22:10 
AnswerRe: Please HELP!!!!!!! Pin
Colin Angus Mackay7-Jun-06 22:16
Colin Angus Mackay7-Jun-06 22:16 
GeneralRe: Please HELP!!!!!!! Pin
NaNg152417-Jun-06 22:36
NaNg152417-Jun-06 22:36 
GeneralRe: Please HELP!!!!!!! Pin
Colin Angus Mackay8-Jun-06 0:45
Colin Angus Mackay8-Jun-06 0:45 
GeneralRe: Please HELP!!!!!!! Pin
DampaZGB8-Jun-06 1:37
DampaZGB8-Jun-06 1:37 
AnswerRe: Please HELP!!!!!!! Pin
DampaZGB8-Jun-06 1:40
DampaZGB8-Jun-06 1:40 
GeneralRe: Please HELP!!!!!!! Pin
Robert Rohde8-Jun-06 2:02
Robert Rohde8-Jun-06 2:02 
AnswerRe: Please HELP!!!!!!! Pin
Eric Dahlvang8-Jun-06 4:30
Eric Dahlvang8-Jun-06 4:30 
GeneralRe: Please HELP!!!!!!! Pin
Colin Angus Mackay8-Jun-06 4:46
Colin Angus Mackay8-Jun-06 4:46 
Well there are 80 non-leap years, 19 definite leap years and one depending on whether the century marker is can be divided by 400 or not.

So 29200 days in non-leap years + 6954 in leap years + 365 for the century year + 1 if it is a leap year
= 36519 + 1 if the century marker is a leap year

int daysInCentury = 36519;
if ((centuryYear % 400) == 0)
    daysInCentury++;



"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
GeneralRe: Please HELP!!!!!!! Pin
Ret Orrick8-Jun-06 7:42
Ret Orrick8-Jun-06 7:42 

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.