date("L")
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";
}
Also in PHP:
- automatic years php
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767
- all my php codes redirects to one site
- CREATE SEEDERS FROM DATABASES
- convert html to pdf php
- create random password in php
- convert stdclass object to array php
- datetime php create from timestamp
- debuggin native php
- difference betwen include and indlude once
- create seede for table in laravel
- do console log in php code
- Tto upper php
- clear config cache laravel 5
- convert ip to latitude longitude using php
- clear cache in laravel
- find if string contains any of character php
- create seeds laravel
- echo getType($value)
- find index of a charachter charachrer isn string phph
- date / time formatter php
- Str random
- convert php timestamp to date
- #1146 - Table 'phplessons.super' doesn't exist