Insert Long Date

Started by: pja2 voices3 posts

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,
Peter
Hello 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.
Yutaka,

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

3 posts in this topic