AbcAeffchen\SepaUtilities\SepaUtilities::getDate
Reformat a date string from a given format to the ISODate format. Notice: 20.13.2014 is valid and becomes 2015-01-20.
Signature
public function getDate([string
$date = null,
[string
$inputFormat = 'd.m.Y']] )
Parameters
$date
— string- A date string of the given input format
$inputFormat
— string- default is the german format DD.MM.YYYY
Returns
- string|false
- date as YYYY-MM-DD or false, if the input is not a date.