Click here to Skip to main content
15,906,455 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IMAPI Pin
josip cagalj22-May-07 19:32
josip cagalj22-May-07 19:32 
AnswerRe: IMAPI Pin
josip cagalj22-May-07 19:51
josip cagalj22-May-07 19:51 
QuestionCompare times Pin
sireesha_sree22-May-07 0:49
sireesha_sree22-May-07 0:49 
AnswerRe: Compare times Pin
CPallini22-May-07 1:02
mveCPallini22-May-07 1:02 
GeneralRe: Compare times Pin
sireesha_sree22-May-07 2:59
sireesha_sree22-May-07 2:59 
QuestionRe: Compare times Pin
David Crow22-May-07 3:02
David Crow22-May-07 3:02 
GeneralRe: Compare times Pin
CPallini22-May-07 3:05
mveCPallini22-May-07 3:05 
AnswerRe: Compare times Pin
Nelek22-May-07 3:34
protectorNelek22-May-07 3:34 
If you are in VC++, you can get the strings for the time like that:
CTime time = CTime::GetCurrentTime();
CString szTime = time.Format ( "%A, %d.%B.%Y, %H:%M:%S" );

The CTime is a class and have methodes like:

GetTime Returns a time_t that corresponds to this CTime object.
GetYear Returns the year that this CTime object represents.
GetMonth Returns the month that this CTime object represents (1 through 12).
GetDay Returns the day that this CTime object represents (1 through 31).
GetHour Returns the hour that this CTime object represents (0 through 23).
GetMinute Returns the minute that this CTime object represents (0 through 59).
GetSecond Returns the second that this CTime object represents (0 through 61).
GetDayOfWeek Returns the day of the week (1 for Sunday, 2 for Monday, and so forth).

If you are in c++ then use the struct time_t (in < time.h >) and isollate every member of the struct to compare them.


Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

QuestionRE: rewind the wmv file in direct show Pin
rjkg22-May-07 0:45
rjkg22-May-07 0:45 
AnswerRe: RE: rewind the wmv file in direct show Pin
Mark Salsbery22-May-07 3:53
Mark Salsbery22-May-07 3:53 
GeneralRe: RE: rewind the wmv file in direct show Pin
rjkg22-May-07 18:36
rjkg22-May-07 18:36 
GeneralRe: RE: rewind the wmv file in direct show Pin
Mark Salsbery23-May-07 5:22
Mark Salsbery23-May-07 5:22 
GeneralRe: RE: rewind the wmv file in direct show Pin
rjkg24-May-07 1:14
rjkg24-May-07 1:14 
GeneralRe: RE: rewind the wmv file in direct show Pin
Mark Salsbery24-May-07 4:56
Mark Salsbery24-May-07 4:56 
GeneralRe: RE: rewind the wmv file in direct show Pin
rjkg24-May-07 19:31
rjkg24-May-07 19:31 
Questionrewind the wmv file in direct show Pin
rjkg29-May-07 0:02
rjkg29-May-07 0:02 
GeneralRe: RE: rewind the wmv file in direct show Pin
rjkg29-May-07 1:35
rjkg29-May-07 1:35 
QuestionPostMessage Pin
Kiran Pinjala22-May-07 0:44
Kiran Pinjala22-May-07 0:44 
AnswerRe: PostMessage Pin
Nibu babu thomas22-May-07 0:58
Nibu babu thomas22-May-07 0:58 
GeneralRe: PostMessage Pin
Kiran Pinjala22-May-07 1:19
Kiran Pinjala22-May-07 1:19 
GeneralRe: PostMessage Pin
Arman S.22-May-07 2:20
Arman S.22-May-07 2:20 
GeneralRe: PostMessage Pin
David Crow22-May-07 3:05
David Crow22-May-07 3:05 
AnswerRe: PostMessage Pin
David Crow22-May-07 3:07
David Crow22-May-07 3:07 
Questionplace FlexGrid in ATL window(CWnd Inheritance). Pin
thatsravi21-May-07 23:55
thatsravi21-May-07 23:55 
QuestionDISP_FUNCTION Pin
tom groezer21-May-07 23:14
tom groezer21-May-07 23:14 

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.