Click here to Skip to main content
15,907,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: Abt datetime manupulation Pin
dan!sh 14-Apr-08 21:58
professional dan!sh 14-Apr-08 21:58 
GeneralRe: Abt datetime manupulation Pin
tasumisra14-Apr-08 22:26
tasumisra14-Apr-08 22:26 
GeneralRe: Abt datetime manupulation Pin
Vikram A Punathambekar14-Apr-08 22:47
Vikram A Punathambekar14-Apr-08 22:47 
GeneralRe: Abt datetime manupulation Pin
Ravenet14-Apr-08 21:52
Ravenet14-Apr-08 21:52 
GeneralRe: Abt datetime manupulation Pin
tasumisra14-Apr-08 22:39
tasumisra14-Apr-08 22:39 
GeneralRe: Abt datetime manupulation Pin
Ravenet14-Apr-08 22:42
Ravenet14-Apr-08 22:42 
GeneralRe: Abt datetime manupulation Pin
dan!sh 14-Apr-08 23:20
professional dan!sh 14-Apr-08 23:20 
GeneralRe: Abt datetime manupulation Pin
Luc Pattyn15-Apr-08 0:49
sitebuilderLuc Pattyn15-Apr-08 0:49 
Hi,

here is the summary:

1. a DateTime always contains a Date and a Time
2. if you are not interested in the Time part, then:
- make sure it always has the same value (use DateTime.Date for that)
- don't show it
3. don't use strings for date or datetime comparisons, use DateTime > DateTime

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralInsert more than one lakh records at a time to SQL Server Pin
Elena200614-Apr-08 21:16
Elena200614-Apr-08 21:16 
GeneralRe: Insert more than one lakh records at a time to SQL Server Pin
Christian Graus14-Apr-08 21:18
protectorChristian Graus14-Apr-08 21:18 
GeneralRe: Insert more than one lakh records at a time to SQL Server Pin
Ravenet14-Apr-08 21:54
Ravenet14-Apr-08 21:54 
GeneralRe: Insert more than one lakh records at a time to SQL Server Pin
Dave Kreskowiak15-Apr-08 3:30
mveDave Kreskowiak15-Apr-08 3:30 
QuestionNeed help with drag and drop panel Pin
Pathetic Logic14-Apr-08 21:04
Pathetic Logic14-Apr-08 21:04 
GeneralRe: Need help with drag and drop panel Pin
dan!sh 14-Apr-08 21:25
professional dan!sh 14-Apr-08 21:25 
QuestionRe: Need help with drag and drop panel Pin
Pathetic Logic14-Apr-08 22:42
Pathetic Logic14-Apr-08 22:42 
Generalimage in report Pin
laleh.rajabi14-Apr-08 20:57
laleh.rajabi14-Apr-08 20:57 
GeneralRe: image in report Pin
Ravenet14-Apr-08 21:56
Ravenet14-Apr-08 21:56 
GeneralFile creation and Thread Abort Pin
Kashif Iqbal Khan14-Apr-08 20:53
Kashif Iqbal Khan14-Apr-08 20:53 
GeneralRe: File creation and Thread Abort Pin
Christian Graus14-Apr-08 21:15
protectorChristian Graus14-Apr-08 21:15 
GeneralRe: File creation and Thread Abort Pin
Kashif Iqbal Khan14-Apr-08 22:36
Kashif Iqbal Khan14-Apr-08 22:36 
GeneralRe: File creation and Thread Abort Pin
Daniel Grunwald14-Apr-08 22:47
Daniel Grunwald14-Apr-08 22:47 
QuestionHow can I look for ASCII values in my DataGrid Pin
Walaza14-Apr-08 20:26
Walaza14-Apr-08 20:26 
AnswerRe: How can I look for ASCII values in my DataGrid Pin
Christian Graus14-Apr-08 21:16
protectorChristian Graus14-Apr-08 21:16 
GeneralRe: How can I look for ASCII values in my DataGrid Pin
Vikram A Punathambekar14-Apr-08 21:36
Vikram A Punathambekar14-Apr-08 21:36 
GeneralRe: How can I look for ASCII values in my DataGrid Pin
Walaza14-Apr-08 23:29
Walaza14-Apr-08 23:29 

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.