M-d h:i:a
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:
- clearcache artisan
- Fatal error : Allowed memory size of 134217728 bytes exhausted
- check if text is in string php
- call other seeder class laravel
- cache clear laravel command
- check if something is on a string php
- find a word in srting php
- add seconds to datetime php
- base64 decode php function
- curl_multi_exec
- composer create project laravel 7
- check if string like string
- composer laravel install
- can we execute core php project code in laravel
- config cache clear in laravel
- <?php if ( is_home()
- Embed the site when you click on the link laravel
- date print in php
- Undefined offset: 0 at laravel\framework\src\Illuminate\Routing\Router.php
- errpr reporting in php
- composer create project laravel
- don't show warning php
- array deduplicate in php
- acf group