Skip to content

A simple PHP class to get a cron expression from date string

Notifications You must be signed in to change notification settings

sirolad/cronDate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CronDate

This simple package gives the cron expression of a DateTime string.

Installation

composer require sirolad/cron-date

Usage

<?php
use Sirolad\CronDate;

$expression = new CronDate('2017-12-2 11:02:25');
echo $expression->getCronDate(); //2 11 2 12 6

Contributors

This package is managed by Surajudeen Akande

About

A simple PHP class to get a cron expression from date string

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages