RawUtcTimeStampLayoutFormat Method Apache log4net™ SDK Documentation
Gets the TimeStamp as a DateTime.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public virtual Object Format(
	LoggingEvent loggingEvent
)

Parameters

loggingEvent
Type: log4net.CoreLoggingEvent
The event to format

Return Value

Type: Object
returns the time stamp

Implements

IRawLayoutFormat(LoggingEvent)
Remarks

Gets the TimeStamp as a DateTime.

The time stamp is in universal time. To format the time stamp in local time use RawTimeStampLayout.

See Also

Reference