| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi everybody.....
I am new to this site. can any one help me in writing the code that finds the difference between the system date and time with the given date and time in C. this is very important to me, please help me regarding this problem. Thanks in advance ... Any replies to this is appreciated. suman |
|
#2
|
|||
|
|||
|
Look at the functions in time.h, specifically difftime, time, mktime, and
the struct tm (which is required by mktime). Hope that gives you something to start with. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > diff between two given dates and times. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|