#strftime
Why don't Jiff's strftime and strptime routines validate the format string separately from formatting or parsing a datetime?

github.com/BurntSushi/j...
Why don't Jiff's `strftime` and `strptime` routines validate the format string separately from formatting or parsing a datetime? · BurntSushi jiff · Discussion #560
I've been considering moving from chrono to jiff. So far, I've been liking what I'm reading, especially when it comes to time zones. However, one thing stood out to me. That's the strftime and strp...
github.com
May 26, 2026 at 3:37 AM
My regrettable tattoo would be getting all the arguments to strftime on my forearm
October 21, 2025 at 9:03 PM
ooh, this is nice -- strftime reference and playground

for figuring out the weird combination of identifiers you want for specific date and time formatting: e.g. "%B %d, %Y"

www.strfti.me
strftime reference and sandbox for Ruby, Python, PHP, and C programmers
Quickly test date and time formats in a strftime sandbox with a handy reference.
www.strfti.me
December 11, 2024 at 8:02 PM
sexy strftime() man
bringing back my most viral tweet for spooky season
October 25, 2025 at 2:08 AM
strptime vs strftime

strPtime has the P for “parse time”

So it'll accept a string and Parse a time from it.

strFtime has the F for “from time” or “format time”

So it'll accept a time/date/datetime and Format it as a string.

You're welcome 🤗
October 26, 2025 at 12:12 PM
shoutout to my favorite reference doc on the internet strftime.org
Python strftime reference cheatsheet
A quick reference for Python's strftime formatting directives.
strftime.org
December 6, 2025 at 6:57 AM
Having a tough time remembering #Python strptime vs. strftime?

- The "p" (strptime) is for parsing, getting a datetime from a string
- The "f" (strftime) is for formatting, getting a string from a datetime

For help remembering the format codes, turn to buff.ly/oEdYGMI !
April 11, 2026 at 3:30 PM
Need help putting together a format string in #Python #Pandas? Check out the site strfti.me, an interactive tool that makes it easy. (It works with a variety of other programming languages, too.)
strftime reference and sandbox for Ruby, Python, PHP, and C programmers
Quickly test date and time formats in a strftime sandbox with a handy reference.
strfti.me
December 26, 2024 at 11:56 AM
First time hearing about pym.dev/strptime, like those regex testers but for strftime so it's a real lifesaver
November 13, 2024 at 6:15 PM
To remember that you need strptime for parsing instead of strftime, remember that it's "string parse time" and "string format time".

Read more 👉 https://trey.io/l4b84k

#Python
July 8, 2026 at 1:17 AM
I guess in the interest of fairness I’ll mention a “weird” thing that #golang does that I actually really like: its replacement for strftime % elements.
February 23, 2026 at 6:37 PM
I've completed "Work with datetime's strptime and strftime" on @pybites.bsky.social 🐍🎉 - pybitesplatform.com/bites/work-w...
Pybites Platform
pybitesplatform.com
January 2, 2025 at 11:37 PM
#DAY37, Part 2 of #PixHabit ✔️ #100DaysOfCode

Built the Pixela graph today:
• POST request
• Added headers/body
• Printed response
• Added daily “pixel”
• Auto date with strftime()

Part 3 next ✨
#Python #API #buildinpublic
December 10, 2025 at 1:01 PM
Coming up on 5 years of scraping the NS Power outage map. One thing I'm always interested in is how many "Vehicle Accident" outages there are:

2021 142
2022 185
2023 137 (incomplete data)
2024 186
2025 147 (so far)

Last December had 35 so still time for this year to catch up!
outages: select strftime('%Y', first_observed) as year, count(*) from outage_summaries where last_cause='Vehicle Accident' and date(first_observed) > '2021' group by 1
nsp.datasette.danp.net
November 29, 2025 at 1:37 PM
javascriptにstrftime()がないのほんと不便
September 14, 2025 at 3:11 AM
Coding goals for the day:
SQL Daily Challenge:✅
Banki Review (SQL): ✅

Today I learned about the STRFTIME() function in SQL, which is really good for filtering dates
December 13, 2024 at 5:05 AM
The inane but ubiquitous `strptime` and `strftime` support:
February 11, 2025 at 2:55 AM
Haven’t looked closely or compared, but www.foragoodstrftime.com has long been a go to for me.
For a Good Strftime | Easy Skeezy Ruby Date/Time Formatting
www.foragoodstrftime.com
December 11, 2024 at 8:18 PM
I've been programming for 15 years, and for the love of Saint Linus, I can never remember the arguments for strftime
August 19, 2025 at 2:41 PM
my week: https://lists.haxx.se/pipermail/daniel/2026-June/000159.html

summer of bliss, pending release, HTTPS-RR, strftime, QUERY
June 20, 2026 at 8:25 PM
👋 My data (starting Dec 2020) dominated by Fiona as expected. But this month now has the 8th-most observed outages.
outages: select strftime('%Y-%m', first_observed) as month, count(*) from outage_summaries group by 1 order by 2 desc limit 20
nsp.datasette.danp.net
December 20, 2025 at 11:24 PM
Python Tip #258 (of 365):

Format dates with f-strings. 🧵

datetime objects support the same format codes in f-string format specifiers that the strftime method uses:

>>> deadline = datetime(2046, 10, 31, 15, 46)
>>> f"{deadline:%m/%d/%Y %I:%M %p}"
'10/31/2046 03:46 PM'

#Python #DailyPythonTip
September 15, 2026 at 5:01 PM
I finished my goals earIy today. I even got a chance to do some networking & meet some cool new people!

Coding goals for the day:
SQL Daily Challenge:✅
Banki Review (SQL): ✅

Today the STRFTIME() function in SQL returned with a vengeance, but it really is a good way to filter dates
December 20, 2024 at 12:50 AM
Compare this f-string:

>>> f"Published on {deadline:%B %d, %Y}"
'Published on October 31, 2046'

To this strftime call:

>>> "Published on " + deadline.strftime("%B %d, %Y")
'Published on October 31, 2046'

I usually prefer f-strings here: I'm used to reading them, so they feel more natural.
September 15, 2026 at 5:01 PM
a lot of people use the moment library.

You can pass a configuration object to Date.toLocaleDateString, it’s about the same as Intl.DateTimeFormat

It’s not quite c strftime(), but it’s probably usable.

It is odd that there isn’t a strftime since javascript engines are usually implemented in c++
July 12, 2025 at 4:56 PM