Definition
Parameters
Convert
clientTime between long and DateTime in C# as follows:
Why both time parameters are needed
Provide both theclientTime parameter and the LogRecord.time value so that events are timestamped accurately. Two conditions make both values necessary:
- The
WriteToLogcall can be deferred. - Local time on the client computer and the time on the server can differ. If you know the local time on the client computer when
WriteToLogwas called, this difference can be corrected.
