Help Center

AfxTime64function

Returns the time as seconds elapsed since midnight, January 1, 1970.

DateTimefunctionAfxTime.incdocumented

Syntax

FUNCTION AfxTime64 () AS LONGLONG

Return value

The current system time as a \_\_time64_t (LONGLONG) value.

Description

Returns the time as seconds elapsed since midnight, January 1, 1970.

Remarks

Replacement for \_time64, not available in msvcrt.dll.

Reference

  • Include file AfxTime.inc
  • Defined in AfxNova/AfxTime.inc:1235
  • Documented in DateTime/DateTime Procedures.md
  • Topic: Date and Time Procedures