Hi,
I have two questions, please.
1. Does it make sense to store seconds in a log file of problems? I use two approach (I know I should be consistent). In some functions/methods I store the SECONDS in the log file. As:
12/21/2021 10:03:03 PM
Some other LOG files I set the SECONDS off (using SET SECONDS OFF). So the log file would have an entry starting with
<pre>
12/21/2021 10:03 PM
I was just wondering, what do you think should be a good practice? At least, in your app, do you remove seconds?
2. To set the DATE and TIME in the log file, I use the function TTOC(DATETIME()). But in the log file of Euro customers, sometimes I see the date in American format; otherwise, it is in British format.
What is a good practice? Consistently sing local DATE setting (that is, for Euro - British, for USA - American)? Or set the DATE to American regardless where the log is created?
TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham