Search
 
SCRIPT & CODE EXAMPLE
 

PHP

add 30 minutes to time in php

$time = strtotime('10:00');
$startTime = date("H:i", strtotime('-30 minutes', $time));
$endTime = date("H:i", strtotime('+30 minutes', $time));
Comment

PREVIOUS NEXT
Code Example
Php :: login with email or phone number laravel 
Php :: acf repeater example count 
Php :: carbon add days 
Php :: php parse json 
Php :: NUMBER ONLY IN PHP 
Php :: deserialize php 
Php :: laravel deployment 
Php :: migration make 
Php :: PHP Fatal error: Constructor test::test() cannot declare a return type in /home/iBMCb9/prog.php on line 6 
Php :: php parse xml 
Php :: loop through months and year php 
Php :: Latest 5 records - Laravel 
Php :: phpmyadmin import size limit 
Php :: laravel emial unique igration error 
Php :: get current logged-in user details in Laravel 
Php :: how to catch query exception in laravel 8 
Php :: laravel date rule before 18 years ago 
Php :: how to restart php-fpm on ubuntu 
Php :: php 7.4 extension sqlite ubuntu 
Php :: symfony get api paths 
Php :: laravel query builder join 
Php :: php write file 
Php :: how to redirect to previous page in php 
Php :: laravel clear table 
Php :: Carbon Format date with timezone in views Laravel 
Php :: Show all DB Tables in php 
Php :: centos :Install or enable PHP gd extension. 
Php :: laravel join with multiple conditions 
Php :: read text from docx in php 
Php :: console php 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =