Timestamp seems to be on different time zone

Topics: General discussion, Logging Application Block
Feb 15, 2010 at 6:02 PM


I am using the logging block with a rolling flat file listener. All is working ok. The only issue I'm having is that the timestamp seems to be on a different timezone -as the minutes are accurate, but the hours are 5 hours ahead.

How can I control this?


Feb 15, 2010 at 6:08 PM

Nevermind, I should have searched better before I posted this question, as I found the answer:

use the {timestamp(local)} token, instead of just {timestamp}.