downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

date_interval_format> <date_get_last_errors
[edit] Last updated: Fri, 11 May 2012

view this page in

date_interval_create_from_date_string

(PHP 5 >= 5.3.0)

date_interval_create_from_date_stringAlias of DateInterval::createFromDateString()

Description

This function is an alias of: DateInterval::createFromDateString()



add a note add a note User Contributed Notes date_interval_create_from_date_string
marcio at suhdo dot com 29-Apr-2012 06:15
<?php

$date
= date_add('2012-04-28',date_interval_create_from_date_string('1 month'));

//$date = '2012-05-28';

?>

 
show source | credits | sitemap | contact | advertising | mirror sites