date() day php
date('w'); //gets day of week as number(0=sunday,1=monday...,6=sat)
//note:returns 0 through 6 but as string so to check if monday do this:
if(date('w') == 1){
echo "its monday baby";
}check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html
Also in PHP:
- auto generate password in php
- click confirm before submit form php
- create project command in laravel
- display errors php
- doubles tennis random function php
- creating a folder from php and make it writeable for all
- creayte date in ph
- check index type in php
- convert uppercase in php
- add seeder in laravel
- THROW EXPECTION PHP
- array no of duplictae items php
- ation: 1071 Specified key was too long; max key length is 1000 bytes
- associate laravel
- console .log in php
- enable php error
- check on off in php code
- convert date time to timestamp php
- browser cache laravel
- convert timestamp to date time in php
- date current time php
- delete dduplicated from array php
- date(w) in php
- find a file in php