DateTimeDateFormatter FormatDateWithoutMillis Method Apache log4net™ SDK Documentation
Formats the date without the milliseconds part

Namespace: log4net.DateFormatter
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected override void FormatDateWithoutMillis(
	DateTime dateToFormat,
	StringBuilder buffer
)
Remarks

Formats a DateTime in the format "dd MMM yyyy HH:mm:ss" for example, "06 Nov 1994 15:49:37".

The base class will append the ",fff" milliseconds section. This method will only be called at most once per second.

See Also