2017 © Pedro PelĂĄez
 

library php-jiffy

A library to handle precise timestamps the easy way.

image

litipk/php-jiffy

A library to handle precise timestamps the easy way.

  • Tuesday, December 20, 2016
  • by castarco
  • Repository
  • 3 Watchers
  • 7 Stars
  • 10,179 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 9 % Grown

The README.md

Jiffy Universal Timestamps

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads, (*1)

Installation

composer require litipk/php-jiffy

Usage

The PHP Jiffy library provides the UniversalTimestamp class, which allows you to record timestamps with milliseconds and microseconds precision and to convert it to other "timestamp types" whenever you need to do it., (*2)

The supported PHP versions are 5.5, 5.6, 7.0 and HHVM., (*3)

<?php

use Litipk\Jiffy\UniversalTimestamp;

$now = UniversalTimestamp::now();
$fromDateTime = UniversalTimestamp::fromDateTimeInterface(new \DateTime());
$fromMongoDate = UniversalTimestamp::fromMongoDate(new \MongoDate());

Notice: The MongoDB related methods are only available when the mongo or mongodb extensions are loaded., (*4)

Integration with Doctrine

If you want to use Jiffy's UniversalTimesamp objects in your Doctrine models, you can use our adapter layers:, (*5)

The Versions

20/12 2016

dev-master

9999999-dev

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

time timestamp

06/06 2016

1.4.0

1.4.0.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

time timestamp

05/03 2016

1.3.1

1.3.1.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

time timestamp

05/03 2016

1.3.0

1.3.0.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

time timestamp

05/03 2016

dev-ci_refactor

dev-ci_refactor

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

time timestamp

29/02 2016

1.2.0

1.2.0.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

time timestamp

26/10 2015

1.1.0

1.1.0.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

26/10 2015

1.0.2

1.0.2.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

26/10 2015

1.0.1

1.0.1.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Andrés Correa Casablanca

26/10 2015

1.0

1.0.0.0

A library to handle precise timestamps the easy way.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrés Correa Casablanca