company logo

DateTime :: addSeconds - Add seconds to time value

The function adds a number of seconds to the current date and returns the new timestamp value.

Return value:  Time stamp ( odaba::DateTime & )

A time stamp combines date and time

Implementation details

odaba::DateTime & DateTime  :: addSeconds ( int32 iSeconds )

The number of seconds passed in iSeconds is added to the time value. Time values may exceed 24 hours.


  • iSeconds - Seconds

    Time span in seconds.