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-11-07 00:43:06 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.