I have autohotkey configured to insert the current date in ISO 8601 format into my filenames on keyboard shortcut for just this reason. So organized. So pure.
Download Autohotkey, and create a new script. Paste these shortcuts into the script and restart the script:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
:R*?:ddd::
FormatTime, CurrentDateTime, yyyy-MM-dd
SendInput %CurrentDateTime%
return
:R*?:dtt::
FormatTime, CurrentDateTime, yyMMddHHmm
SendInput %CurrentDateTime%
Return
Now, if you type ‘ddd’ on your keyboard, the current date will be typed out, eg ‘2023-11-23’.
If you type ‘dtt’ tgen the datetime stamp will be typed out in YYMMDDhhmm format, eg 2311231012
There are so many cool things you van do with AHK to make your work more productive. For example, rather tgan typing your email address a billion times, add the shortcut:
YYYY-MM-DD is the only acceptable date format, as commanded by ISO 8601.
Sorting by date would be so much better with yyyymmdd .
Largest to smallest unit of time. It just makes sense.
“There shall be no other date formats before ISO8601. Remember this format and keep it as the system default”
For file names, absolutely.
When I’m asking what date it is I typically know the current year.
Well la-tee-dah, look at mister not-shitfaced-every-day here, bragging like a big man
I can lie under the table, puking my guts out and still remember the year.
You need more training, son.
YYYY-MM-DD:HH:MM:SS
YYYY-MM-DD:HH:MM:SS+TZ
YYYY-MM-DDTHH:MM:SS.SSSSSSSSSZ
deleted by creator
If you have years of files named similarly with the date, you will love the ISO standard and how it keeps things sorted and easy to read.
I have autohotkey configured to insert the current date in ISO 8601 format into my filenames on keyboard shortcut for just this reason. So organized. So pure.
Holy shit teach me your ways how do I do that
Are you familiar with AHK at all?
Nope not yet
Download Autohotkey, and create a new script. Paste these shortcuts into the script and restart the script:
Now, if you type ‘ddd’ on your keyboard, the current date will be typed out, eg ‘2023-11-23’.
If you type ‘dtt’ tgen the datetime stamp will be typed out in YYMMDDhhmm format, eg 2311231012
There are so many cool things you van do with AHK to make your work more productive. For example, rather tgan typing your email address a billion times, add the shortcut:
And then you can type ‘add1’ and hit space, and your email address will be typed out in full. Of course, the string ‘add1’ can be whatever you want.
I love you.
Glad I can count my own country, Lithuania, among the enlightened.
EDIT: Source of the picture: https://en.m.wikipedia.org/wiki/File:Date_format_by_country_NEW.svg
where’s that? somewhere in africa?
/s because apparently it’s not implied
deleted by creator