943,879 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 2486
  • C++ RSS
Dec 17th, 2008
0

Date Format

Expand Post »
Hi

I want the format of the date like

Fri, Dec 12, 2008

Earlier I used

CTime today = CTime::GetCurrentTime();
CString chdpl = today.Format("%A, %B %d, %Y" );

for

Friday, December 12,2008

But I don't know how to specify Fri in format

Regards
Karan
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
karang is offline Offline
46 posts
since Jul 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Get weekday Name VC++
Next Thread in C++ Forum Timeline: input a character





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC