date format for month name php
<?php
echo date("F j, Y, g:i a")."<br>"; // March 10, 2001, 5:16 pm
echo date("m.d.y")."<br>"; // 03.10.01
echo date("j, n, Y")."<br>"; // 10, 3, 2001
echo date("Ymd")."<br>"; // 20010310
echo date('h-i-s, j-m-y, it is w Day')."<br>"; // 05-16-18, 10-03-01, 1631 1618 6 Satpm01
echo date('\i\t \i\s \t\h\e jS \d\a\y.')."<br>"; // it is the 10th day.
echo date("D M j G:i:s T Y")."<br>"; // Sat Mar 10 17:16:18 MST 2001
echo date('H:m:s \m \i\s\ \m\o\n\t\h')."<br>"; // 17:03:18 m is month
echo date("H:i:s")."<br>"; // 17:16:18
echo date("Y-m-d H:i:s")."<br>"; // 2001-03-10 17:16:18 (the MySQL DATETIME format)
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html
Also in PHP:
- check array item exists php
- 500 error code laravel
- find if string contains characters php
- duplicate values in array php
- exception is thrown php
- "Fatal error: Allowed memory size of 1610612736 bytes exhausted " +laravel
- check if array has a key php
- array value exists php and get key
- debuggin native php
- Arr::get laravel
- echo gettype
- Your Composer dependencies require the following PHP extensions to be installed: dom, mbstring, xml, xmlwriter
- Get the content of a specific page (by ID)
- check for substring in php
- add 1 day to date php
- data.php
- PHP DATE 2019-10-01 FORMAT
- echo json_encode json_pretty
- Woocommerce Display Custom Field value on the Thank You page [Custom Field Display 2]
- add seeder laravel
- eloquent using last()
- create random string using php
- To print current time which function will use in pphp
- array_key_exists not finding numbers