time-t
ISO 8601 to time_t conversion in C or vice versa
According to ISO 8601, time can be specified in different formats. My program does not know which exact ISO 8601 format wil开发者_高级运维l be specified.[详细]
2023-03-18 07:58 分类:问答fastest way to get time_t from YYYYMMDDHHMMSS string
Is this legit?Im trying to get to a time_t as fast as possible given a string formatted like YYYYMMDDHHMMSS.[详细]
2023-03-12 01:38 分类:问答Parsing user input using time_t
My idea is, if user enters t = 2.5, then I extract 2 and 0.5 separately in 2 different variables. But I am unable to do that.[详细]
2023-02-20 10:54 分类:问答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?[详细]
2023-02-18 23:44 分类:问答Get the current time in C [duplicate]
This question already has answers here: How to get the date and time values in a C program? (11 answers)[详细]
2023-02-13 17:18 分类:问答Convert a C++ time_t to Delphi TDateTime
In a Delphi XE application, I am reading values from a database originally created by a C++ 开发者_如何转开发program. There is a date column, stored (it would appear) as time_t, i.e. Unix time, the nu[详细]
2023-02-10 22:57 分类:问答creating formatted NSDate using NSDateFormatter or mktime
I\'m just trying to create a NSDate object with string as:2011-02-10 4:30:45 Take a look at the code: Approach OBJC:[详细]
2023-02-10 01:32 分类:问答Get time_t / timeval corresponding to ( local_timezone ) midnight on a given date
Given a time_t or struct timeval, how do I get the timeval or time_t of midnight EST/EDT ( local timezone ) on that day ?[详细]
2023-02-09 00:15 分类:问答How do I convert a time to tm struct instead of CTime class
I currently have code that creates a CTime object from a de开发者_StackOverflowfined value. #define TIME_VALUE 0x301DDF00// Aug 1, 1995 @ 04:00:00[详细]
2023-01-19 19:49 分类:问答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 calculates NTP time. Seems simple but the format is in Windows FILETIME format. I sort of have an idea[详细]
2023-01-13 23:08 分类:问答