Skip to content

henrique-ft/php_datetime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Via Composer

$ composer require blacktools/datetime

Usage

require 'vendor/autoload.php';

use Blacktools\DateTime\TimeMachine;

var_dump(TimeMachine::interval('00:00:00','24:00:00'));

/*
  array(24) {
  [0] =>
  string(8) "00:00:00"
  [1] =>
  string(8) "01:00:00"
  [2] =>
  string(8) "02:00:00"
  [3] =>
  string(8) "03:00:00"
  [4] =>
  string(8) "04:00:00"
  [5] =>
  string(8) "05:00:00"
  [6] =>
  string(8) "06:00:00"
  [7] =>
  string(8) "07:00:00"
  ...

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email hriqueft@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A set of functions to work with date and time in PHP, it contains a powerful schedule maker.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages