Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RtlSecondsSince1970ToTime
Collapse the table of content
Expand the table of content

RtlSecondsSince1970ToTime routine

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

Syntax


VOID RtlSecondsSince1970ToTime(
  _In_  ULONG          ElapsedSeconds,
  _Out_ PLARGE_INTEGER Time
);

Parameters

ElapsedSeconds [in]

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

Time [out]

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

Return value

None

Remarks

The basis for system time is the start of 1601. The absolute system time is a LARGE_INTEGER value, accurate to 100-nanosecond resolution, assuming an accurate hardware clock. The value returned by RtlSecondsSince1970ToTime 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

RtlSecondsSince1980ToTime
RtlTimeFieldsToTime
RtlTimeToSecondsSince1970
RtlTimeToTimeFields

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft