date his in php
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:
- USA format date in php
- clear view route cache laravel
- date class in php
- check if text contain word regex
- clear cache laravle
- Allowed memory size of 1 ompocse
- create laravel app using composer
- date formate php
- code seef laravel
- console log data php
- check if value in string php
- convert to uppercase in php
- current datae in php
- create laravel app
- @for loop php
- element cakephp
- array no of duplictae items php
- array_unique spip
- To add a new Top-level menu to WordPress Administration, use the add_menu_page() function.
- codeigniter load form_validation
- date('c') in php
- create random username and password php
- encode image to base64
- check if array has file in index