Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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));
 
PREVIOUS NEXT
Tagged: #add #minutes #time #php
ADD COMMENT
Topic
Name
8+7 =