Gets the time at which this event was written to the log, in local time.
[Visual Basic] Public ReadOnly Property TimeWritten As DateTime [C#] public DateTime TimeWritten {get;} [C++] public: __property DateTime get_TimeWritten(); [JScript] public function get TimeWritten() : DateTime;
A DateTime that represents the time at which this event was written to the log.
TimeWritten has millisecond accuracy.
This method holds the time that an event information was written to the event log. This may not be the same as the time that the event was generated. For the latter, use TimeGenerated.
EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace | TimeGenerated