date format pgp
<?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:
- custom rule laravel validation
- Auth()->user()->id;
- create seeders in laravel 8
- cache;clear laravel
- convert array to object php
- application of laravel
- clear single cache laravel 6
- catch error in except in php
- after create a new laravel project and copy old project on it how insatall all packages
- array_unique object
- diplay php error
- csv to json php
- date("H:i:s"); is js or php
- clearn route cacje laravel
- Failed at the @ dev script 'node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
- Chace Clear of Larvel
- SOHW error details on php
- App\Http\Controllers\Validator not found
- date time with am pm in php
- carbon add minutes
- base encode64 php
- failed to clear cache laravel
- dropzone in php
- check if word include string