Top "Time-t" questions

`time_t` is a Standard-C data type to hold the seconds since UNIX epoch, that since the 1.1.1970.

Convert Unix/Linux time to Windows FILETIME

I am once again going from Windows to Linux, I have to port a function from Windows to Linux that …

c porting datetime-conversion time-t filetime
how to define a loop to be run for some seconds/minutes long

My purpose is to execute a while loop for a defined time (e.g. 90 seconds for this example). It does …

c linux time clock time-t
How to printf a time_t variable as a floating point number?

I'm using a time_t variable in C (openMP enviroment) to keep cpu execution time...I define a float value …

c time parallel-processing openmp time-t
64-bit Unix timestamp conversion

Is there any C++ implementation of 64-bit Unix timestamp conversions for 32-bit systems? I need to convert struct tm to 64…

c++ linux 64-bit 32bit-64bit time-t
How do I get time_t in GMT on Windows in C

I am writing some code that will run on multiple intercommunicating systems. I was using time() to get time_t, …

c time gmt time-t
C/C++ time_t in microseconds

This program returns the time in seconds. I need to return it in microseconds. time_t timeStart = time(0); usleep(2.5e6); …

c++ c seconds time-t
How do I convert an ISO 8601 string to time_t in C++?

Does anyone know how to go from an ISO-8601-formatted date/time string to a time_t? I am using …

c++ time iso time-t
Convert time_t To Integer

How should I modify this code to print("Its Midnight") every 00:00AM ? #include <time.h> #include <stdio.…

c time integer converter time-t
C - How to convert time_t to tm?

I have a variable which using time_t data type. I want to convert this type into "YYYY-MM-DD HH:MM:…

mysql tm time.h time-t
Comparing time_t values using comparison operators

I have 2 time_t values and I want to find out which one is greater. time_t is internally __int64 …

c++ windows time time-t