wf_date()
wf_date(mixed $value, mixed $interval, string $format) : string
Format and modify a given date
Examples:
$germanDateNextDay = wf_date($dateField, '+1 day', 'd.m.Y')
Parameters
mixed | $value | The date you want to modify (YYYY-MM-DD [HH:II:SS]) Time is optional |
mixed | $interval | Empty or every Date/Time Interval: Syntax see here: http://php.net/manual/en/datetime.formats.relative.php |
string | $format | Format you want to return (Placeholder: http://de1.php.net/manual/en/function.date.php) |
Returns
string —The formated and modified date