Sublime Forum

Automatic date stamp in file name when saving

#1

Hi there,

I just configured sublime text to add the .txt file to all text files when I save them. That’s helpful to me.

But I really want to be able to automatically add, in addition to .txt, an automatic date stamp in the following format:

YYYYMMDDHHMM

For example if I was was saving the file “birthdaycard” I’d like to type into the dialogue box the letters “birthdaycard” and when I hit return I’d automatically get something like this:

birthdaycard202611161720.txt

I hope this is possible. I’m not a coder in any way shape or form. Sorry if this is obvious.

Thanks in advance

0 Likes