Time and Date function is used to display date and time in your webpage or to check the last view of the user.
Syntax for using Time and Date function
date_default_timezone_set("your time zone");
date('d-m-y h:i:s A');
Example :-
Output of the above code
No comments:
Post a Comment