With date() you can format und analyse a date.

The time you assign in the parameter timestamp. If you leave it blank, the function takes the updating time.
date(format [,timestamp]);

Here are some examples for the format:
a = "am" or "pm"
A = "AM" or "PM"
d = day of the month(01-31)
m = month(01-12)
M = month (3-digit, Jan,Feb,...)
y = year (2-digit,01,02,...)
Y = year (4-digit,2001,2002,...)
g = hour (display in the 12-hour-format)
G = hour (display in the 24-hour-format)
abbs / Dec 06, 2003
2004 - 2019 /