PHP Date() function

By | January 18, 2014

date display format –date(format,timestamp)

Example date(“Y/m/d”);

2014/01/18

d,m,y meanings are as below

d – the day of the month (01 to 31)
m – month (01 to 12)
Y – year (in four digits)