PHP Date and Time
Current date and time can get using PHP function. User registration time or want to know the user last login time, booking date or time for order product etc all are possible to get by date() function in PHP. Date function syntax
1 2 3 | <?php echo date('D d-m-y h:i:s a'); ?> |
Output
1 | Sun 08-07-18 10:17:05 pm |
Explanation date() function has many different parameters. All different parameters … Read more