RtlSecondsSince1980ToTime function

The RtlSecondsSince1980ToTime routine converts the elapsed time, in seconds, since the beginning of 1980 to an absolute system time value.

Syntax

NTSYSAPI VOID RtlSecondsSince1980ToTime(
  ULONG          ElapsedSeconds,
  PLARGE_INTEGER Time
);

Parameters

ElapsedSeconds

Number of seconds from midnight, December 31, 1979, to the current date and time.

Time

Pointer to a caller-allocated variable that receives the corresponding current system time.

Return Value

None

Remarks

The absolute system time is a LARGE_INTEGER value, accurate to 100-nanosecond resolution, assuming an accurate hardware clock. The basis for system time is the start of 1601. The value returned by RtlSecondsSince1980ToTime is truncated to one-millisecond resolution.

For more information about converting time values, see Data Conversions.

Requirements

   
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "< DISPATCH_LEVEL"

See Also

RtlSecondsSince1970ToTime

RtlTimeFieldsToTime

RtlTimeToSecondsSince1980

RtlTimeToTimeFields