ajout d'heure à une date php
#TA DATE MAINTENANT
$my_date=date("Y-m-d H:i:s");
#TA DATE EN TIME
$my_date_time=time("Y-m-d H:i:s");
#TU AJOUTES LE NOMBRE DE SECONDE DESIRE (ici 1h30 = 5400 secondes)
$my_new_date_time=$my_date_time+5400;
#TU REPASSE EN FORMAT DATE
$my_new_date=date("Y-m-d H:i:s",$my_new_date_time);
Also in PHP:
- current uri php[
- catch all exceptions php
- create laravel project version 5.8
- count the no of characters in a string in phph
- Illuminate\Http\Request vs \Illuminate\Support\Facades\Request
- intval php
- Adding string with number in php
- config cache clear with code laravel
- clean laravel
- console log function php
- <?php echo Date(Y); ?>
- convert string date to timestamp php
- Fatal error: Allowed memory size bytes exhausted (tried to allocate bytes)
- count column eloquent laravel
- Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\heermatka\myprofile.php:48) in C:\xampp\htdocs\heermatka\myprofile.php on line 144
- error reporting 0 in hph
- clear cache laravel and composer
- cambiare pagina php
- check in string is part oof other string php
- count string php
- filter elementor
- cron run php script
- cashe command laravel
- create seeds laravel