Page 1 of 1

macro

Posted: Tue Nov 04, 2003 8:39 am
by Christian Lempereur
Currently 3 macros available (@inputfilename, @fullinputfilename and @clipboard).
What about a macro to insert current date and time? Something like : @today?

christian

Posted: Thu Nov 06, 2003 6:56 am
by DataMystic Support
Good idea.

What format should it be inserted in? System full date format, system short date format, or perhaps a different macro for each format.

Posted: Thu Nov 06, 2003 6:26 pm
by Christian Lempereur
I don't really care about the format because textpipe's filters can be used to reformat to whatever is needed.
I would suggest something like YYYY-MM-DD HH:MM:SS

christian

Posted: Fri Nov 07, 2003 9:38 am
by Christian Lempereur
And if it gives date and time, maybe it's not a good idea to call it @today, it may be better to call it @now or @timestamp.

christian

Posted: Fri Nov 07, 2003 11:28 am
by DataMystic Support
The next version will have the following new macros:

@time
Inserts the time with the system-defined long time format
@date
Inserts the date with the system-defined short date format
@datetime
Inserts the date and time with the system-defined short date format and long time format.