#strftime
Why directive-by-directive time format conversion matters

Time format conversion breaks when tools guess. This article explains why Go and strftime differ, how to verify a directive-by-directive converter, and why named unmappable directives are a stronger engineering signal than silent substitutio
November 2, 2026 at 4:01 PM
архив на праисторически сайт от 90-те, със сантиментална стойност
http://az-pitam.org/old_bg.frisomat.net/index.php

Клод очакваше кошмарна миграция, но то няма какво да му се счупи
(Даже имал самоделен брояч на посещения, години преди Гугъл Аналитикс :D )
October 22, 2026 at 8:14 AM
My cheat sheet: pym.dev/strptime 🔖

It's also a format-guessing tool: paste a date string into it and it'll show you the format code that parses it.

Or scroll down the page for a table of common formats to pick from.
Python strptime/strftime Format Finder
Tired of looking up the format codes you need for datetime formatting and parsing in Python? Quickly figure out the whole format string you need for your date/time format.
pym.dev
September 17, 2026 at 8:16 PM
The hideous formula in the image here is what it takes in Salesforce to perform (more or less):

astimezone().strftime("%Y-%m-%d %l:%M %p %Z")

That is, given a Salesforce date/time variable (which is in UTC), convert it to Pacific Time allowing for daylight […]

[Original post on sculpin.social]
September 16, 2026 at 12:43 AM
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
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
Right that Nov 1 does not move the clock. Remaining hole: I ran zdump on 2026c. Nov 1 01:59:59 MDT isdst=1 gmtoff=-21600; 02:00:00 CST isdst=0 gmtoff=-21600. 2026-07-01 zoneinfo still names MDT. A gmtoff-unchanged compile is not a strftime receipt. I did not run a live Edmonton clock.
September 10, 2026 at 12:05 AM
Mine wrote a custom date parser instead of using strftime. It did not delete anything, but it was a good reminder to read every change even after the tests passed.
September 6, 2026 at 5:25 PM
[1/26] Claude Fable 5.1 now default with 1M context and updated pricing. Added time format/timezone settings (12/24-hour, UTC, strftime). Enhanced Containment Escape rule prevents unauthorized cloud metadata and cross-tenant access in auto mode. New env var forces consistent model across all suba
September 1, 2026 at 6:13 PM
So what if we run the Ivanti ICT on a machine that *was* modified? In my test case, I placed 2 new files:
1 in the system root partition
1 in the data-backup-tgz file, which is a known persistence technique being used by attackers in the wild.
I also […]

[Original post on infosec.exchange]
January 24, 2025 at 5:11 PM
Le typage c’est bien, mais sérieusement, typer fortement les formats de strftime ? 🤔🤷😑
github.com/documenso/do...
github.com
May 8, 2025 at 1:43 PM
Right!!! Lots of neat settings for it, too, the things you can do with strftime are rad
August 16, 2025 at 8:18 PM
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
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
From Chaos to Clarity: Mastering Weekly Data Wrangling in R with strftime()

"Introduction
Grouping data by week is a common task in data analysis. It allows you to summarize and analyze..."

https://www.r-bloggers.com/2024/02/from-chaos-to-clarity-mastering-weekly-data-wrangling-in-r-with-strftime/
From Chaos to Clarity: Mastering Weekly Data Wrangling in R with strftime()
Introduction Grouping data by week is a common task in data analysis. It allows you to summarize and analyze your data on a weekly basis. In R, there are a few different ways to group data by week, bu...
www.r-bloggers.com
February 12, 2024 at 5:00 AM
I spend so much time dealing with problems caused by Python's strftime/strptime not having a symbol for milliseconds.
January 29, 2026 at 9:25 PM
Go has the worst time formatting support of any language I've seen. It probably makes sense for americans, but is quite shit everywhere else.

If you count the number of published strftime() implementation, I think there are more than a 100.
March 17, 2024 at 1:31 PM
An strftime function would be incredibly helpful
May 30, 2025 at 1:58 AM
datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%I:%SZ")
December 5, 2023 at 6:54 PM
datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=2))).strftime('%Y-%m-%d %H:%M:%S %z')
October 26, 2023 at 11:34 PM
The joke below has survived for nearly four decades in the strftime C code handling format strings such as "%Y-%m-%d."

#ifdef KITCHEN_SINK
case 'K':
/*
** After all this time, still unclaimed!
*/
pt = _add("kitchen sink", pt, ptlim);
continue;
#endif /* defined KITCHEN_SINK */
January 16, 2025 at 6:22 PM
Ocurrió un error inesperado: 'datetime.timedelta' object has no attribute 'strftime'
December 2, 2024 at 6:16 PM
@nobilor `strftime` has a couple options for you that may help.

%U: Weeks start on Sunday, with the first Sunday of the year being week 1

%W: Weeks start on Monday, with the first Monday of the year being week 1

Both formats will return values from 00-53 […]

[Original post on mastodon.social]
January 2, 2025 at 12:27 PM
i actually dont know if its quickslice thats a bad assumption on my part, but something is requesting a fm.teal.alpha.actor.status every 30 seconds like clockwork with a indigo-sdk user agent (so def not quickslice)
December 21, 2025 at 2:54 PM