Page 1 of 1

ANSWERED: setting date/time format

Posted: 31 Oct 2025 21:12
by DerellLicht1
I recently discovered that I can use F5 to insert date/time into a document...
That is something that I actually sometimes want to do... however, the long-form format that is being used, is not useful to me; I wish to specify my own format (in this case MM/DD/YY, HHMM)... is there some way to set that format??
I tried looking through the Options menus, but I could easily have missed it!!!

Re: setting date/time format

Posted: 31 Oct 2025 21:49
by pjj
Have a look at Text clips, chars > insert current date, it's there. You need to define [[date]] as e.g. @d[dd/mm/yyyy] and [[time]] (in a row below) as @t[hh:mm] and then write [[date]] [[time]] as a desired result (however slash as a separator in dates has been changed to a hyphen).

Re: setting date/time format

Posted: 31 Oct 2025 22:04
by DerellLicht1
Thank ye once again, @pjj !!!

Re: setting date/time format

Posted: 31 Oct 2025 22:19
by pjj
Image

Re: setting date/time format

Posted: 03 Nov 2025 22:34
by DerellLicht1
pjj wrote: 31 Oct 2025 21:49 Have a look at Text clips, chars > insert current date, it's there. You need to define [[date]] as e.g. @d[dd/mm/yyyy] and [[time]] (in a row below) as @t[hh:mm] and then write [[date]] [[time]] as a desired result (however slash as a separator in dates has been changed to a hyphen).
sadly, this isn't working for me... I'm still missing something (other than a brain)...
I opened Text clips (from View -> Panels), but there is *nothing* on that panel that related to 'chars' at all, I don't see 'insert current date' anywhere...
so I still don't know how to do this...

Later:
Well, I don't know how I'm supposed to handle this thematically, but I searched through TextEd.ini and found the following line:
LongDateTime=1

Changed it to 0, and I now get the date/time display that I wanted...

Re: setting date/time format

Posted: 04 Nov 2025 08:44
by pjj
DerellLicht1 wrote: 03 Nov 2025 22:34 sadly, this isn't working for me... I'm still missing something (other than a brain)...
If someone here is missing a brain, it's me, hands down :lol:

That "chars" folder I mentioned was... made by myself, no wonder you couldn't find it :oops: Just add a new clip (green plus sign) and then those two entries I suggested above. Or, if
DerellLicht1 wrote: 03 Nov 2025 22:34 (...) Changed it to 0, and I now get the date/time display that I wanted...
this suits you, don't bother with a text clip.

Image

Re: setting date/time format

Posted: 05 Nov 2025 16:19
by DerellLicht1
pjj wrote: 04 Nov 2025 08:44 If someone here is missing a brain, it's me, hands down :lol:

That "chars" folder I mentioned was... made by myself, no wonder you couldn't find it :oops:
:lol: :mrgreen:

Well, given all the helpful advice that you've given me over the years, I'm not going to object to an occasional oops...
I'll just snicker a bit!!

Have a nice day...

Re: setting date/time format

Posted: 05 Nov 2025 16:49
by pjj
Yeah, oopsie it was with regard to folder... but still you can use a text clip (I should have attached that screenshot earlier):
edit item.png
edit item.png (29.44 KiB) Viewed 23543 times
I hope it can be useful to you somehow.

Re: setting date/time format

Posted: 06 Nov 2025 03:19
by DerellLicht1
pjj wrote: 05 Nov 2025 16:49 Yeah, oopsie it was with regard to folder... but still you can use a text clip (I should have attached that screenshot earlier):
I hope it can be useful to you somehow.
Oh!! Yes, it is...
The LongDateTime hack that I used, was not ideal, because it still includes the seconds, which I don't find useful when time-stamping code changes...
So *yes*, the image that you included most recently, is excellent... Thank ye!!