Formats the date without the milliseconds part
Namespace: log4net.DateFormatterAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- dateToFormat
- Type: System DateTime
The date to format.
- buffer
- Type: System.Text StringBuilder
The string builder to write to.
Remarks
Formats the date specified as a string: "yyyy-MM-dd HH:mm:ss".
The base class will append the ",fff" milliseconds section. This method will only be called at most once per second.
See Also