# Class LoggerPatternConverterDate

Returns the date/time of the logging request.

Option: the datetime format, as used by the date() function. If the option is not given, the default format 'c' will be used.

There are several "special" values which can be given for this option: 'ISO8601', 'ABSOLUTE' and 'DATE'.

  LoggerPatternConverter
  LoggerPatternConverterDate

Package: log4php\pattern
Version: $Revision: 1326626 $
Since: 2.3
Located at pattern/LoggerPatternConverterDate.php

Methods summary
`public` | # `activateOptions( )` Called in constructor. Converters which need to process the options can override this method. Called in constructor. Converters which need to process the options can override this method. #### Overrides `LoggerPatternConverter::activateOptions()`
`public` | # `convert( `LoggerLoggingEvent` $event )` Converts the logging event to the desired format. Derived pattern converters must implement this method. Converts the logging event to the desired format. Derived pattern converters must implement this method. #### Parameters $event ``LoggerLoggingEvent`` $event

Methods inherited from LoggerPatternConverter
`__construct(), format()`

Constants summary
`string` | `DATE_FORMAT_ISO8601` | `'c'` | #
`string` | `DATE_FORMAT_ABSOLUTE` | `'H:i:s'` | #
`string` | `DATE_FORMAT_DATE` | `'d M Y H:i:s.u'` | #

Properties inherited from LoggerPatternConverter
`$formattingInfo, $next, $option`