datetime default format hour format ph
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";
}date("Y-m-d H:i:s")
Also in PHP:
- add password php file
- db seeder laravel 5
- clear cache laravel and composer
- CONTAIN PHP
- .htaccess codeigniter
- current date & tie in php
- comments in php
- date format in am pm in php
- adding 2 in date() php
- enable helper methods laravel 6
- download php 7.4 ubuntu
- - phpunit/phpunit 8.5.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
- $_SERVER php where link came from
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes laravel
- Auth::getUser();
- config:clear cache:clear
- consolelog is it a thing in php
- Allowed memory size of 1610612736 bytes exhausted
- a.length en php
- create seed laravel
- date fonction php
- date format letter PHP
- check if a string has a character php
- Tto upper php