time-t Questions
2
Solved
According to ISO 8601, time can be specified in different formats.
My program does not know which exact ISO 8601 format will be specified.
In this case, how can I convert it to time_t?
strptim...
5
Solved
Here's a little test I've written to verify that time does indeed only run forwards in Linux.
#include <time.h>
#include <sys/time.h>
bool timeGoesForwardTest2()
{
timeval tv1, tv2;...
1
Solved
Is there any method provided by Apple or any technique that can convert a time_t type variable to an NSDate object?
1
Solved
On Visual studio I can force use of 32-bit time_t by declaring _USE_32BIT_TIME_T. Is there a similar equivalent for gcc? or is it always 32-bit or is it always 64-bit?
2
Solved
I'm writing a multi-threaded program that needs to be able to check if a row requires updating and act accordingly.
I had problems using the built in date/time functions of MySql and so decided t...
3
Solved
The official Python 2.5 on Windows was build with Visual Studio.Net 2003, which uses 32 bit time_t. So when the year is > 2038, it just gives exceptions.
Although this is fixed in Python 2.6 (whic...
Intransigent asked 8/5, 2009 at 13:19
3
Solved
I need to get the current time in a "HH:MM:SS"-format into a character array (string) so I can output the result later simply with a printf("%s", timeString);
I'm pretty confused on the timeval an...
© 2022 - 2024 — McMap. All rights reserved.