Home Tutorial Php Phpdate date_interval_create_from_date_string


Share on Google+Share on Google+
Posted on: August 26, 2009 at 12:00 AM
Here, you will learn the example of date_interval_create_from_date_string that is also known as DateInterval::createFromDateString.


date_interval_create_from_date_string alias DateInterval::createFromDateString is used for setting up a DateInterval from the relative parts of the string. It uses the normal date parsers and sets up a DateInterval from the relative parts of the parsed string. It returns new DateInterval instance if success.

Description about Set Up Dateinterval From Date String PHP

public static DateInterval DateInterval::createFromDateString ( string $time )

Parameters of date_interval_create_from_date_string() PHP

time - Date with relative parts.


Related Tags for date_interval_create_from_date_string:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: August 26, 2009

Recommend the tutorial

Advertisements Advertisements