Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

add time to a date php

$date = date_create("2013-03-15");
//here just change the amount of time
date_add($date,date_interval_create_from_date_string("40 days")); 
echo date_format($date,"Y-m-d");
 
PREVIOUS NEXT
Tagged: #add #time #date #php
ADD COMMENT
Topic
Name
7+3 =