date'G')
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:
- base 64 encode decode not same php
- Backend fatal error: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted in laravel 8
- array kley exists php
- Jan 5, 2021 15:37:25 time format php
- basic date php
- add validation for webp image in laravel
- catch new exception php
- PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Sp ecified key was too long; max key length is 1000 bytes")
- check an string incudes a string php
- Your Composer dependencies require a PHP version ">= 7.2.5". You are running 7.2.0. in
- add days with dates php
- e_all error php
- Modularizing laravel 8.0
- check format have image laravel post
- contains function in php
- Woocommerce custom Flat Rate charges (by ID) Function
- current php date
- Str in laravel
- $get url php
- Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
- alias seeddb='php artisan db:seed'
- doubles tennis random function php
- codeigniter id of last insert
- clear cache laravel and composer