Click here to Skip to main content
15,851,514 members
Home / Discussions / C#
   

C#

 
QuestionGetting Current Date? Pin
afronaut14-Oct-02 10:28
afronaut14-Oct-02 10:28 
AnswerRe: Getting Current Date? Pin
Stephane Rodriguez.14-Oct-02 10:42
Stephane Rodriguez.14-Oct-02 10:42 
GeneralRe: Getting Current Date? Pin
afronaut14-Oct-02 10:58
afronaut14-Oct-02 10:58 
GeneralRe: Getting Current Date? Pin
leppie14-Oct-02 11:45
leppie14-Oct-02 11:45 
GeneralRe: Getting Current Date? Pin
afronaut14-Oct-02 12:10
afronaut14-Oct-02 12:10 
GeneralRe: Getting Current Date? Pin
Daniel Turini15-Oct-02 3:10
Daniel Turini15-Oct-02 3:10 
AnswerRe: Getting Current Date? Pin
Anonymous14-Oct-02 11:05
Anonymous14-Oct-02 11:05 
GeneralRe: Getting Current Date? Pin
leppie14-Oct-02 12:09
leppie14-Oct-02 12:09 
Anonymous wrote:
MessageBox.Show(d1.ToString("G"));

The DateTime.ToString() method accepts many formatting strings, see the doc for details. The "G" format is mm/dd/yyyy hh:mm:ss.


Hi, the default behavior for the ToString() method for most classes (maybe all???) is "G", so no need to even use that Smile | :)

Cheers Smile | :) 3 less keys too type Roll eyes | :rolleyes:

Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
QuestionHow do you send an email message? Pin
David Flores14-Oct-02 6:07
David Flores14-Oct-02 6:07 
AnswerRe: How do you send an email message? Pin
Daniel Turini14-Oct-02 6:12
Daniel Turini14-Oct-02 6:12 
GeneralRe: How do you send an email message? Pin
Pete Bassett14-Oct-02 7:52
Pete Bassett14-Oct-02 7:52 
AnswerRe: How do you send an email message? Pin
leppie14-Oct-02 8:30
leppie14-Oct-02 8:30 
AnswerRe: How do you send an email message? Pin
Hugh Jass14-Oct-02 8:50
Hugh Jass14-Oct-02 8:50 
AnswerRe: How do you send an email message? Pin
Hakan Eskici15-Oct-02 6:36
Hakan Eskici15-Oct-02 6:36 
AnswerRe: How do you send an email message? Pin
David Flores15-Oct-02 9:02
David Flores15-Oct-02 9:02 
GeneralListview - Desperate for help! Pin
Darryl Borden14-Oct-02 5:26
Darryl Borden14-Oct-02 5:26 
GeneralRe: Listview - Desperate for help! Pin
Daniel Turini14-Oct-02 5:59
Daniel Turini14-Oct-02 5:59 
GeneralRe: Listview - Desperate for help! Pin
Darryl Borden14-Oct-02 6:27
Darryl Borden14-Oct-02 6:27 
GeneralRe: Listview - Desperate for help! Pin
Daniel Turini14-Oct-02 6:26
Daniel Turini14-Oct-02 6:26 
QuestionI miss header files. Do you? Pin
Marc Clifton14-Oct-02 2:46
mvaMarc Clifton14-Oct-02 2:46 
AnswerRe: I miss header files. Do you? Pin
Marc Clifton14-Oct-02 2:47
mvaMarc Clifton14-Oct-02 2:47 
GeneralRe: I miss header files. Do you? Pin
Stephane Rodriguez.14-Oct-02 3:00
Stephane Rodriguez.14-Oct-02 3:00 
GeneralRe: I miss header files. Do you? Pin
Marc Clifton14-Oct-02 3:14
mvaMarc Clifton14-Oct-02 3:14 
GeneralRe: I miss header files. Do you? Pin
leppie14-Oct-02 8:21
leppie14-Oct-02 8:21 
GeneralRe: I miss header files. Do you? Pin
Maciej Pirog14-Oct-02 8:33
Maciej Pirog14-Oct-02 8:33 

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.