What primitive data type is time_t? [duplicate] May 1, 2023 by Tarik It’s platform-specific. But you can cast it to a known type. printf("%lld\n", (long long) time(NULL));