Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: What ?!? Pin
Luc Pattyn26-Sep-07 15:28
sitebuilderLuc Pattyn26-Sep-07 15:28 
QuestionJavaScript : How to use borderstyle Pin
ss.mmm26-Sep-07 11:15
ss.mmm26-Sep-07 11:15 
GeneralRe: JavaScript : How to use borderstyle Pin
Guffa26-Sep-07 11:59
Guffa26-Sep-07 11:59 
AnswerRe: JavaScript : How to use borderstyle Pin
Scott Dorman26-Sep-07 13:18
professionalScott Dorman26-Sep-07 13:18 
GeneralRe: JavaScript : How to use borderstyle Pin
ss.mmm27-Sep-07 3:36
ss.mmm27-Sep-07 3:36 
QuestionJavaScript : How to Pin
ss.mmm26-Sep-07 11:14
ss.mmm26-Sep-07 11:14 
AnswerRe: JavaScript : How to Pin
Paul Conrad26-Sep-07 12:34
professionalPaul Conrad26-Sep-07 12:34 
Questionadding 24 hours onto DateTime variable Pin
rcwoods26-Sep-07 10:45
rcwoods26-Sep-07 10:45 
hi
I cant seem to add 24 hours onto a datetime variable.

i have a startTime value and with that i want to add 24 hours to it to get a endTime.

what i have right now is:

DateTime startTime = DateTime.Parse(Request.QueryString["LogonDate"]);<br />
<br />
        DateTime endTime = startTime;<br />
        <br />
        endTime.AddHours(24);


startTime's value is for eg. "2007/06/01 12:00:00AM"
but its not adding 24hours to endTime variable. It stays the same as the startTime.

Please somebody help me..
AnswerRe: adding 24 hours onto DateTime variable Pin
Dan Neely26-Sep-07 10:54
Dan Neely26-Sep-07 10:54 
GeneralRe: adding 24 hours onto DateTime variable Pin
Colin Angus Mackay26-Sep-07 13:05
Colin Angus Mackay26-Sep-07 13:05 
AnswerRe: adding 24 hours onto DateTime variable Pin
Luc Pattyn26-Sep-07 10:55
sitebuilderLuc Pattyn26-Sep-07 10:55 
AnswerRe: adding 24 hours onto DateTime variable Pin
Colin Angus Mackay26-Sep-07 13:08
Colin Angus Mackay26-Sep-07 13:08 
GeneralRe: adding 24 hours onto DateTime variable Pin
Malcolm Smart26-Sep-07 21:08
Malcolm Smart26-Sep-07 21:08 
GeneralRe: adding 24 hours onto DateTime variable Pin
Pete O'Hanlon26-Sep-07 22:13
mvePete O'Hanlon26-Sep-07 22:13 
QuestionHelp In simulation Pin
prog_omer_esmail26-Sep-07 9:34
prog_omer_esmail26-Sep-07 9:34 
AnswerRe: Help In simulation Pin
pmarfleet26-Sep-07 9:40
pmarfleet26-Sep-07 9:40 
Questiondll library loading Pin
Blubbo26-Sep-07 7:06
Blubbo26-Sep-07 7:06 
AnswerRe: dll library loading Pin
Scott Dorman26-Sep-07 7:11
professionalScott Dorman26-Sep-07 7:11 
AnswerRe: dll library loading Pin
Pete O'Hanlon26-Sep-07 9:45
mvePete O'Hanlon26-Sep-07 9:45 
AnswerRe: dll library loading Pin
Larantz26-Sep-07 9:47
Larantz26-Sep-07 9:47 
QuestionSpecified argument was out of the range of valid values Pin
Rukmini T26-Sep-07 6:58
Rukmini T26-Sep-07 6:58 
AnswerRe: Specified argument was out of the range of valid values Pin
TJoe26-Sep-07 7:06
TJoe26-Sep-07 7:06 
AnswerRe: Specified argument was out of the range of valid values Pin
Scott Dorman26-Sep-07 7:09
professionalScott Dorman26-Sep-07 7:09 
GeneralRe: Specified argument was out of the range of valid values Pin
Rukmini T26-Sep-07 7:28
Rukmini T26-Sep-07 7:28 
GeneralRe: Specified argument was out of the range of valid values Pin
Scott Dorman26-Sep-07 7:58
professionalScott Dorman26-Sep-07 7:58 

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.