Formats a calendar date for backup filenames, optionally appending an AM/PM suffix to the date.
Date in YYYY-MM-DD form.
YYYY-MM-DD
Selected date format token.
Optional
Optional date suffix settings.
Formatted date string, or an empty string when the input is invalid.
Formats a calendar date for backup filenames, optionally appending an AM/PM suffix to the date.