date format php iso
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:
- PHP Html-Optimizer on github
- failed to open stream permission denied laravel
- check all file in server php
- composer install laravel global
- error reporting on ini
- Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes laravel string length 1000
- executar comando linux php
- custom php data time
- convert string to upper case php
- date compare php
- check if substring in in string php
- date time format 12 hour am pm php
- covert string to all uppercase in php
- PHP header("Location: TO OUTPUT FLE TXT
- fgets function in php
- execute script php command line
- aadd day in date php
- current data in php
- create folder using php
- echo date display week days php
- > cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
- array filter use key
- current time in php
- FUNCTION TO HASH PASSWORD IN PHP