2017 © Pedro Peláez
 

library constants

All of PHP's timezone strings in handy constants.

image

timezone/constants

All of PHP's timezone strings in handy constants.

  • Thursday, September 8, 2016
  • by guiwoda
  • Repository
  • 2 Watchers
  • 5 Stars
  • 8,291 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

TimeZone\Constants

Build Status, (*1)

All of PHP's timezone strings in handy constants. PHP7 compatible branch., (*2)

Versions

PHP version branch library version
7.0+ master ^1.0
5.6.* php-56 ^0.1
HHVM php-56 ^0.1

Usage

Require it through composer:, (*3)

composer require timezone/constants:^1.0

Then use the constants wherever you need them:, (*4)

$nowInBuenosAires = new \DateTime(
    'now', 
    new \DateTimeZone(\TimeZone\Constants::AMERICA_ARGENTINA_BUENOS_AIRES)
);

The Versions

08/09 2016

dev-master

9999999-dev

All of PHP's timezone strings in handy constants.

  Sources   Download

MIT

The Development Requires

by Guido Contreras Woda

01/02 2016

dev-php-56

dev-php-56

All of PHP's timezone strings in handy constants.

  Sources   Download

MIT

The Development Requires

by Guido Contreras Woda

01/02 2016

0.1.0

0.1.0.0

All of PHP's timezone strings in handy constants.

  Sources   Download

MIT

The Development Requires

by Guido Contreras Woda

01/02 2016

1.0.0

1.0.0.0

All of PHP's timezone strings in handy constants.

  Sources   Download

MIT

The Development Requires

by Guido Contreras Woda