Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/std/time_UnixLike.cpp
AZStd::sys_time_t GetTimeNowSecond()
    {
        AZStd::sys_time_t timeNowSecond;
        struct timespec ts;
        int result = clock_gettime(CLOCK_MONOTONIC_RAW, &ts);  // Similar to CLOCK_MONOTONIC, but provides access to a raw hardware-based time that is not subject to NTP adjustments.
        (void)result;
        AZ_Assert(result != -1, "clock_gettime error: %s\n", strerror(errno));
        timeNowSecond =  ts.tv_sec;
        return timeNowSecond;
    }
// time in seconds is the same as the POSIX time_t
time in seconds is the same as the POSIX time_t
time in seconds is the same as the POSIX time_t
AZStd::sys_time_t GetTimeNowSecond()
    {
        AZStd::sys_time_t timeNowSecond;
        struct timespec ts;
        int result = clock_gettime(CLOCK_MONOTONIC_RAW, &ts);  
        (void)result;
        AZ_Assert(result != -1, "clock_gettime error: %s\n", strerror(errno));
        timeNowSecond =  ts.tv_sec;
        return timeNowSecond;
    }
AZStd :: sys_time_t GetTimeNowSecond ( ) { AZStd :: sys_time_t timeNowSecond ; struct timespec ts ; int result = clock_gettime ( CLOCK_MONOTONIC_RAW , & ts ) ; ( void ) result ; AZ_Assert ( result != -1 , " \n " , strerror ( errno ) ) ; timeNowSecond = ts . tv_sec ; return timeNowSecond ; }
time in seconds is the same as the POSIX time_t
time in seconds is the same as the POSIX time_t
// Similar to CLOCK_MONOTONIC, but provides access to a raw hardware-based time that is not subject to NTP adjustments.