共用方式為


COleDateTimeSpan::GetTotalSeconds

Retrieves this date/time-span value expressed in seconds.

double GetTotalSeconds( ) const throw( );

Return Value

This date/time-span value expressed in seconds. Although this function is prototyped to return a double, it will always return an integer value.

Remarks

The return values from this function range between approximately – 3.16e11 to 3.16e11.

For other functions that query the value of a COleDateTimeSpan object, see the following member functions:

Example

See the example for GetTotalDays.

Requirements

Header: atlcomtime.h

See Also

Reference

COleDateTimeSpan Class

Hierarchy Chart

COleDateTimeSpan::SetDateTimeSpan