log4net SDK Reference

IDateFormatter Interface

Render a DateTime as a string.

For a list of all members of this type, see IDateFormatter Members.

[Visual Basic]
Public Interface IDateFormatter
[C#]
public interface IDateFormatter

Types that implement IDateFormatter

Type Description
AbsoluteTimeDateFormatter Formats a DateTime as "HH:mm:ss,fff".
DateTimeDateFormatter Formats a DateTime as "dd MMM yyyy HH:mm:ss,fff"
Iso8601DateFormatter Formats the DateTime as "yyyy-MM-dd HH:mm:ss,fff".
SimpleDateFormatter Formats the DateTime using the ToString method.

Remarks

Interface to abstract the rendering of a DateTime instance into a string.

The FormatDate method is used to render the date to a text writer.

Requirements

Namespace: log4net.DateFormatter

Assembly: log4net (in log4net.dll)

See Also

IDateFormatter Members | log4net.DateFormatter Namespace