PHPackages                             r28/astro-time - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. r28/astro-time

ActiveLibrary

r28/astro-time
==============

Time package for astronomical calculation with Cake\\Chronos

v1.0.17(6y ago)188[1 PRs](https://github.com/r28/AstroTime/pulls)1MITPHPCI passing

Since Apr 23Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/r28/AstroTime)[ Packagist](https://packagist.org/packages/r28/astro-time)[ RSS](/packages/r28-astro-time/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (20)Used By (1)

AstroTime
=========

[](#astrotime)

[![Build Status](https://camo.githubusercontent.com/6945a1066f23e9f4070a6a7d2c85db78a4e56acc7cbec688e4bd62f9e1018527/68747470733a2f2f7472617669732d63692e6f72672f7232382f417374726f54696d652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/r28/AstroTime)

Datetime library for astronomical calculate with Cake\\Chronos

Requirements
============

[](#requirements)

- PHP &gt;= 7.1
- composer
- cakephp/chronos

Wat's this?
===========

[](#wats-this)

Expand 'Cake\\Chronos', calculate the numerical value necessary to astronomy calculation.

- Local Time
- UTC Time
- UT1
- Julian Day (JD)
    - after 1582/10/15 : Gregorian calendar
    - before : Julian calendar
- Modified Julian Day (MJD)
- Julian Century (JC)
- International Atomi Time (TAI)
- Terrestrial Time (TT)
- Terrestrial Dynamical Time (TDT)
- delta(T) (TT-UT1)
- Temps-coordonnée géocentrique (TCG)
- Temps-coordonnée barycentrique (TCB)

Install
=======

[](#install)

Use composer:

```
$ composer require r28/astro-time
```

Usage
=====

[](#usage)

- Now time

    ```
