date("G"); timezone
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:
- cache in laravel
- create your first laravel project
- check data type in php
- clear cache laravel in server
- error log all php
- check array key php
- PaymentIntent::create laravel
- display date and hour php
- date time php
- date php formating
- check if key is already exist in an associative array php
- failed to clear cache. make sure you have the appropriate permissions. laravel
- element check cakphp
- cakephp send mail bcc
- check if string container string phph
- Search or Filter Data in GridView c#
- class static php
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 byt
- PHP Html-Optimizer on github
- day of the week php
- array key exist
- cache issue laravel
- echo in console php
- display current date and time in php