LoggingEventData TimeStamp Field | Apache log4net™ SDK Documentation

Note: This API is now obsolete.

Gets or sets the local time the event was logged

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    [ObsoleteAttribute("Prefer using TimeStampUtc, since local time can be ambiguous in time zones with daylight savings time.")]
    public DateTime TimeStamp

    <ObsoleteAttribute("Prefer using TimeStampUtc, since local time can be ambiguous in time zones with daylight savings time.")>
    Public TimeStamp As DateTime

    public:
    [ObsoleteAttribute(L"Prefer using TimeStampUtc, since local time can be ambiguous in time zones with daylight savings time.")]
    DateTime TimeStamp

    [<ObsoleteAttribute("Prefer using TimeStampUtc, since local time can be ambiguous in time zones with daylight savings time.")>]
    val mutable TimeStamp: DateTime

#### Field Value

Type: DateTime
Remarks

Prefer using the TimeStampUtc setter, since local time can be ambiguous.

See Also

#### Reference

LoggingEventData Structure
log4net.Core Namespace