A date & time utility library for PHP.

0.3.1 2016-02-17 17:48 UTC

This package is not auto-updated.

Last update: 2024-09-12 00:00:35 UTC


README

A date & time utility library for PHP.

Packagist Version GitHub license Build Status

Install

$ composer require radioactivehamster/temporal

Usage

<?php

use Temporal;

// Returns an object representing the current month.
$month = Calendar::month();

// Returns an object representing the current week.
$week = Calendar::week();

// Returns an object representing the current day.
$day = Calendar::day();

License

The MIT License (Expat). See the license file for details.