System::Globalization::Calendar::AddSeconds method

Calendar::AddSeconds method

Adds seconds to time point.

virtual DateTime System::Globalization::Calendar::AddSeconds(DateTime time, int seconds) const
ParameterTypeDescription
timeDateTimeOriginal time point value.
secondsintNumber of seconds to add.

ReturnValue

Time point after calculation is done.

See Also