string date(string format, int timestamp);
print(date( "l dS of F Y h:i:s" ));
print(date("Current time is: H (hours), i (minutes), s (seconds)"));
print(date('Y-m-d', mktime(0,0,0, $m, $d-7, $Y)));
More Tutorials on roseindia.net for the topic PHP Date and Time Date and time Tutorial.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.