Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Tsunami
USA (204 posts) bio
|
| Date |
Sun 14 Aug 2005 05:47 PM (UTC) [ quote
] |
| Message |
| I'd like to be able to timestamp every line I log, or at least record the milliseconds. Now the prefix box under General Preferences -> Logging seems good, but there does not appear any support for milliseconds or timestamps, although of course there is for seconds, minutes, etc... It seems to me that this'd be simple enough. Thanks | top |
|
| Posted by |
Flannel
USA (1,230 posts) bio
|
| Date |
Reply #1 on Sun 14 Aug 2005 09:39 PM (UTC) [ quote
] |
| Message |
You can use JScript, or perlscript to get milliseconds.
I wrote something like this, except that it checks differences in times, but it should be easy enough to modify for just regular time.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=5567
You'll also have to make it send to your log, instead of appending it to the line, but that shouldn't be too big either. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | top |
|
| Posted by |
Tsunami
USA (204 posts) bio
|
| Date |
Reply #2 on Wed 17 Aug 2005 05:13 PM (UTC) [ quote
] |
| Message |
| True enough, but it would be so much more convinient not to have to use scripting and I doubt it'd be that hard at all. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
2,604 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )