Top "Strftime" questions

`strftime` is a C standard library function to format date and time into a readable form that has also been ported into other programming language standard libraries

C++11 alternative to localtime_r

C++ defines time formatting functions in terms of strftime, which requires a struct tm "broken-down time" record. However, the C …

c++ time c++11 strftime
How can I improve/replace sprintf, which I've measured to be a performance hotspot?

Through profiling I've discovered that the sprintf here takes a long time. Is there a better performing alternative that still …

c++ c performance printf strftime
Making Django forms.DateField show use local date format

I'm trying to find an easy way to build forms which show dates in the Australian format (dd/mm/yyyy). …

django forms strftime datefield
Swift: NSDate formatting with strftime & localtime

How do I convert the following Objective-C code into Swift code? #define MAX_SIZE 11 char buffer[MAX_SIZE]; time_t …

objective-c c swift strftime localtime
Using strftime function in mawk

I'm trying to create AWK script that will filter the input file according to some pattern, and use the strftime() …

awk strftime
How do I format a date in ruby to include "rd" as in "3rd"

I want to format a date object so that I can display strings such as "3rd July" or "1st October". …

ruby strftime
Making a list of months and years from DatetimeIndex in Pandas

I have a dataframe of information. I set the index to be the received date and time. Now I want …

python list pandas dataframe strftime
PHP: strftime(), date() or DateTime, Which is better?

I am curious to know if there is any advantage in PHP of using strftime() over date() or vice versa. …

php date strftime
Using lambda and strftime on dates when there are null values (Pandas)

I'm trying to change the format of a datetime column in my Dataframe using lambda and strftime like below df[…

python pandas lambda strftime
Convert strftime in SQLite request to MySQL

I converted the SQLite line WHERE strftime('%d%m', orders.created_at) = ....... directly to a MySQL monster: WHERE CONCAT(…

mysql sql sqlite strftime