bfolliot/date

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.1.2) of this package.

Provides additional functionality for date manipulation in PHP

1.1.2 2015-05-28 11:28 UTC

This package is not auto-updated.

Last update: 2020-09-04 20:26:37 UTC


README

Provides additional functionality for date manipulation in PHP

BFolliot\Date\DateInterval

public string toSpec ()

Return the interval specification.

BFolliot\Date\DateTime

public string strftime(string $format)

Format according to locale settings.

See http://php.net/manual/en/function.strftime.php

public static DateTime DateTime::createFromFormat ( string $format , string $time [, DateTimeZone $timezone ] )

Returns new DateTime object formatted according to the specified format.

See http://php.net/manual/en/datetime.createfromformat.php