PHP Date Format Builder

Custom Format
Country Formats

Select options from the dropdowns to build your date format string.

Select a common date format used by a specific country:

Are you sure?

Your PHP Date Format:

Output Preview:

How to use in PHP:

Copy the format string above and use it in your PHP code like this:

$formattedDate = date("", time());
echo $formattedDate;