RtlSecondsSince1970ToTime - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

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

#endif

View code on GitHub
// ntifs.h

NTSYSAPI VOID RtlSecondsSince1970ToTime(
  [in]  ULONG          ElapsedSeconds,
  [out] PLARGE_INTEGER Time
);
View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-ntifs-rtlsecondssince1970totime)

RtlSecondsSince1970ToTime function

Description

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

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.

See also

RtlSecondsSince1980ToTime

RtlTimeFieldsToTime

RtlTimeToSecondsSince1970

RtlTimeToTimeFields