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

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

excel - Populate list via a bi-Condition -