"thu,01 jan 2014 00:23:09 GMT"
01/01/2014 00:23:09.
CString cookies= _T("Thu 05 Dec 2013 15:10:23 GMT"); COleDateTime dtTimecookie; dtTimecookie.Format(_T("%a %d %b %Y %X %Z")); dtTimecookie.ParseDateTime(cookies); int yy=dtTimecookie.GetYear(); int mm=dtTimecookie.GetMonth(); int dd=dtTimecookie.GetDay(); int hr=dtTimecookie.GetHour(); int min=dtTimecookie.GetMinute(); int sec=dtTimecookie.GetSecond(); CString dateStrcookie; dateStrcookie.Format(_T("%d/%d/%d %d:%d:%d"),dd,mm,yy,hr,min,sec);
tm
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)