Breaking News
Home / Training / PHP

PHP

The PHP Time Formats With Date

php time and date function

Display a Simple Time With PHP Date functuion PHP Time Formats With php Date functions are below some examples H – 24-hour Display format of a hour (00 to 23) h – 12-hour Display format of a hour with leading zeros (01 to 12) i – Display Minutes with zeros …

Read More »

The PHP Date formats

The PHP Date formats

The PHP Date formats php date function is used to display a date or a time in different formats,Some Examples Are below echo "Today is " . date("Y/m/d") . ""; echo "Today is " . date("Y.m.d") . ""; echo "Today is " . date("Y-m-d") . ""; echo "Today is " …

Read More »