 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
Can the macro parameters in the manual be updated? |
|
Hi, can you please add documentation for the time format masks within the date macro variable (@T)--currently only the date masks are documented.
Also I seem to remember there's now an x-message, which also isn't documented.
Thanks.
|
|
Wed Jul 07, 2010 6:35 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
|
|
Thank you. I'm going to submit a request to update 24x7 documentation and have it describe all supported time formats.
Just in case, the supported time format elements in are
HH - 24-hour
hh - 12-hour
mm - treated as minutes if it follows HH or hh element; or as a month number if it follows any combination of yy, yyyy d, or dd,
ss - seconds
Examples for 18:05:34
HH:mm:ss - 18:05:34
hh:mm:ss - 06:05:34
HHmm – 1805
HHmmss - 180534
|
|
Wed Jul 07, 2010 7:53 pm |
|
 |
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
|
|
HH isn't working for me, it just produces HH. And now it's past midday hh is saying 01 instead of 13 8-(
This is the code:
File.write(LogFile,"Log stamp @T"yyyy-mm-ddTHH:mm:ss"\n");
I've also tried with a blank instead of the T between the date and time.
(The mm following the HH also reverts to month.)
MP edition 4.3 293
Cheers
|
|
Wed Jul 07, 2010 9:44 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
|
|
That works fine for me. What is your system default time format 24-hours or 12-hours?
PS. I'm running here a bit more recent version. If you are interested in trying it, I can send you a download link.
|
|
Wed Jul 07, 2010 9:55 pm |
|
 |
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
|
|
Windows locale is set to 24 hour time.
No worries, I'll live with hh=12 hours until the official release, it's always a bit of an effort to upgrade.
|
|
Wed Jul 07, 2010 10:51 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|