date('hms'
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:
- @ development: `mix` npm ERR! Exit status 1 npm ERR!
- explode comma php
- command to download laravel
- check if custom post type exists
- Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 18874368 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/Repository/ComposerRepository.php on line 588
- create migration laravel
- error show php
- Best debugging tools for php
- array in array key values unique
- array sort unique laravel
- $conn = new PDO(
- exclude if symfony jms
- Laravel 8 KET TO LONG ERROR
- Allowed memory size of 1610612736 bytes
- carbon now
- array search by key in php
- check array has key php
- disable all auth route laravel
- all uppercase in php
- 500 (internal server error) laravel
- date.now() php
- close connection pdo
- check string exist in php
- carbon format date in laravel