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

Rails: How to make Date strftime aware of the default locale?

I have my default locale set in the environment.rb as de (German). I also see all the error messages …

ruby-on-rails ruby localization rails-i18n strftime
unconverted data remains: .387000 in Python

I have a datetime that is a string I read from a text file. I want to trim the extra …

python strftime strptime
How do I strftime a date object in a different locale?

I have a date object in python and I need to generate a time stamp in the C locale for …

python locale strftime setlocale
How to convert week number and year into unix timestamp?

I'm trying to group together dates into a week number and year, and then I want to convert that week …

php strtotime strftime mktime
Using strftime in C, how can I format time exactly like a Unix timestamp?

Here's the sort of time formatting I'm after: 2009-10-08 04:31:33.918700000 -0500 I'm currently using this: strftime(buf, sizeof(buf), "%Y-%…

c strftime
Display the date, like "May 5th", using pythons strftime?

Possible Duplicate: Python: Date Ordinal Output? In Python time.strftime can produce output like "Thursday May 05" easily enough, but I …

python strftime
Spanish Characters not Displaying Correctly

I am getting the lovely � box where spanish characters should be displayed. (ie: ñ, á, etc). I have already made sure that …

php mysql date special-characters strftime
Rails undefined method `strftime' for "2013-03-06":String

I am getting the error undefined method `strftime' for "2013-03-06":String when trying to display a date normally (June …

ruby-on-rails ruby ruby-on-rails-3 strftime
Use datetime.strftime() on years before 1900? ("require year >= 1900")

I used : utctime = datetime.datetime(1601,1,1) + datetime.timedelta(microseconds = tup[5]) last_visit_time = "Last visit time:"+ utctime.strftime('%Y-%m-%…

python datetime strftime
Getting UTC UNIX timestamp in Lua

An API returns a timestamp as UNIX timestamp at UTC and I would like to know if this timestamp was …

datetime time lua timestamp strftime