Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- September 8, 2010 at 9:18 am #8930pjaParticipant
Hi!
I would like to be able to insert a “long” date such as:
Wednesday, 8 September 2010
rather than the current EmEditor “Edit>Date and Time” format which gives:
08/09/2010 7:15 PM
Which is the Windows “short date” format.
I guessI would like the option to insert the Windows “Long Date”.
Does anyone know if this is possible?
Regards,
PeterSeptember 8, 2010 at 5:24 pm #8932Yutaka EmuraKeymasterHello pja,
You can write a macro to insert any date format you would like:
d=new Date(); document.write(d.toLocaleString());
This is a javascript macro.
September 9, 2010 at 1:40 am #8935pjaParticipantYutaka,
Thank you for your quick reply.
I was not aware how easy it is to include JavaScripts into toolbar buttons – this is really neat!
Your reply got me Googling and I have now come up with a (IMHO) really neat script with a nicely formatted date.
Thanks again,
Peter :-D - AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.