c - add seconds to a date -
I have to add seconds to a date. For example, if I have a date, such as 2009127000000, I have to add seconds for this date. Add another example, 50 seconds to 20091231235957.
Is it possible in C?
C date / time type Time_T is implemented as a number of seconds after a certain date So, to add second to it, you use normal arithmetic. If this is not what you are asking for, please clarify your question.
Comments
Post a Comment