date() function is used to display the date, time, and month according to given format.
e.g echo date(“d/m/y”); // output: 29/5/2011
d- date
D- day name
m- month
M- month name
y- sort year like 2011 as 11
Y-full year like 2011
h- hours
i- minute
s- second
Wednesday 24 August 2011
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment