Macro Toolworks Products Discussion Forums :: General Discussion
Welcome Guest   
 Subject :need help to output curent time with seconds value.. 03-11-2011 18:43:55 
fesee3@sogetthis.com
Joined: 03-11-2011 17:12:41
Posts: 3
Location
Hi,

I have a macro which outputs date &time:
Code:
td:y-td:mlz-td:dlz_ct:h24lz.ct:mlz

the output looks like this: (YYYY-MM-DD_HH.MM) 2011-11-03_12.32


I need to know how to append the current time SECONDS
eg: (YYYY-MM-DD_HH.MM.SS) 2011-11-03_12.32.05



There does not appear to be the command

Does anyone have an example that would append the seconds to my output?


Thanks.
IP Logged
 Subject :Re:need help to output curent time with seconds value.. 03-11-2011 21:10:25 
petr
Joined: 15-10-2009 11:48:52
Posts: 152
Location
Hello,

for the current time you can use "_vCurrTime_Second" system variable that contains seconds. If you want to insert seconds to some document then you can do it this way:

<varout>("%_vCurrTime_Second%",0)

Best regards,
Petr
IP Logged
 Subject :Re:need help to output curent time with seconds value.. 18-12-2011 10:35:55 
fesee3@sogetthis.com
Joined: 03-11-2011 17:12:41
Posts: 3
Location
Thanks, I will give that a shot...
IP Logged
Page # 


Powered by ccBoard


Login and share your experience - send messages to forums and add comments to samples, commands and other resources.



Account is free of charge, easy to setup.