Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
Questionconverting string to date Pin
sachees12313-Apr-09 1:02
sachees12313-Apr-09 1:02 
AnswerRe: converting string to date Pin
Colin Angus Mackay13-Apr-09 1:37
Colin Angus Mackay13-Apr-09 1:37 
GeneralRe: converting string to date Pin
sachees12313-Apr-09 1:44
sachees12313-Apr-09 1:44 
GeneralRe: converting string to date Pin
Colin Angus Mackay13-Apr-09 1:46
Colin Angus Mackay13-Apr-09 1:46 
GeneralRe: converting string to date Pin
sachees12313-Apr-09 1:56
sachees12313-Apr-09 1:56 
GeneralRe: converting string to date Pin
Roberto Ho13-Apr-09 2:11
Roberto Ho13-Apr-09 2:11 
GeneralRe: converting string to date Pin
Colin Angus Mackay13-Apr-09 2:15
Colin Angus Mackay13-Apr-09 2:15 
GeneralRe: converting string to date Pin
Colin Angus Mackay13-Apr-09 2:12
Colin Angus Mackay13-Apr-09 2:12 
sachees123 wrote:
But i still didnt get my solution...


You seem to want the moon on a plate.

You want a string parsed to a DateTime, you do not want the time element. Your solution, and the solution everyone else uses, is to simply ignore the time part. If you are doing date calculations then normalise it by setting the time part to midnight (e.g. myDateTimeObject = myDateTimeObject.Date)


GeneralRe: converting string to date Pin
sachees12313-Apr-09 2:36
sachees12313-Apr-09 2:36 
GeneralRe: converting string to date Pin
Colin Angus Mackay13-Apr-09 2:44
Colin Angus Mackay13-Apr-09 2:44 
GeneralRe: converting string to date Pin
sachees12313-Apr-09 2:53
sachees12313-Apr-09 2:53 
GeneralRe: converting string to date Pin
PIEBALDconsult13-Apr-09 4:06
mvePIEBALDconsult13-Apr-09 4:06 
AnswerRe: converting string to date Pin
ramzg13-Apr-09 3:36
ramzg13-Apr-09 3:36 
Questionexecute one application from another dummy application Pin
NetQuestions13-Apr-09 0:29
NetQuestions13-Apr-09 0:29 
AnswerRe: execute one application from another dummy application Pin
Colin Angus Mackay13-Apr-09 0:37
Colin Angus Mackay13-Apr-09 0:37 
GeneralRe: execute one application from another dummy application Pin
NetQuestions15-Apr-09 4:17
NetQuestions15-Apr-09 4:17 
Questionhow to get link download file like IDM ? Pin
kimlongap13-Apr-09 0:18
kimlongap13-Apr-09 0:18 
Questionhave a child while parent is not accesible Pin
cppwxwidgetsss12-Apr-09 23:52
cppwxwidgetsss12-Apr-09 23:52 
AnswerRe: have a child while parent is not accesible Pin
Vikram A Punathambekar13-Apr-09 0:10
Vikram A Punathambekar13-Apr-09 0:10 
GeneralRe: have a child while parent is not accesible Pin
Fired.Fish.Gmail13-Apr-09 6:01
Fired.Fish.Gmail13-Apr-09 6:01 
GeneralRe: have a child while parent is not accesible Pin
cppwxwidgetsss13-Apr-09 18:25
cppwxwidgetsss13-Apr-09 18:25 
GeneralRe: have a child while parent is not accesible Pin
Fired.Fish.Gmail14-Apr-09 0:03
Fired.Fish.Gmail14-Apr-09 0:03 
GeneralRe: have a child while parent is not accesible Pin
cppwxwidgetsss14-Apr-09 1:12
cppwxwidgetsss14-Apr-09 1:12 
GeneralRe: have a child while parent is not accesible Pin
Vikram A Punathambekar14-Apr-09 7:27
Vikram A Punathambekar14-Apr-09 7:27 
Questionresolving lag connection to remote server? Pin
[c]amilo12-Apr-09 22:28
[c]amilo12-Apr-09 22:28 

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.