date("U")
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";
}check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html
Also in PHP:
- buddypress author link
- date () u php
- Error: Class 'Database\Factories\UserFactory' not found
- ccreate array php
- artisan laravel install
- date("l",$date) php
- fgetxls php
- <?PHP>
- echo php console
- current date php function
- check the value type in php
- date reformat php
- Laravel Scheduler
- eloquent firstOrCreate
- adding days to time value in php
- PHP string mask day-year
- all capital in php
- converting strings to uppercase in php
- check if key exists array
- année en php
- acf auto increment field
- create a function that checks the values of the indexes in two arrays and keep a score
- blade comment
- dropzone in php