Swapnil Gupta
Swapnil Gupta

Reputation: 8941

How to get AM/PM in System Date and Time in MFC(VC++ )?

How to get AM/PM in System date and time in this format (15-Nov-2010 16:24 PM) in MFC ? Any help is appreciated.

Upvotes: 0

Views: 1202

Answers (1)

ta.speot.is
ta.speot.is

Reputation: 27214

Use COleDateTime::Format with the correct format string.

Upvotes: 1

Related Questions