Releases: natedrake/DateHelper
Releases · natedrake/DateHelper
1.0.0
26 Mar 14:45
Compare
Sorry, something went wrong.
No results found
1.0.0 Release
Contains production ready classes:
Date.php
Get the ordinal of a number, and the difference in dates.
DateFormat
Set a date and return it in any date format
Readme
Full Documentation
0.1.4
11 Jul 12:20
Compare
Sorry, something went wrong.
No results found
Support to define the date format when return a date format using unix epoch
DateFormat::epochDate(time(), DateFormat::BIG)
/*
returns Y-m-d H:i:s of current time
*/
0.1.3
08 Jul 00:13
Compare
Sorry, something went wrong.
No results found
Add functionality to return two different types of strings when getting the difference between the current date and another.
E.g Date::get()->getDifferenceFromNow($date) would show full string like "1year 8months 3days 5hours..."
E.g Date::get()->time($date) shows short string like "a year ago"
0.1.2
07 Jul 21:23
Compare
Sorry, something went wrong.
No results found
Add functionality for epochDate to return readable date format from Unix epoch timestamp. e.g Tuesday 7th of July 2015 10:21:36 PM
0.1.1
07 Jul 20:46
Compare
Sorry, something went wrong.
No results found
Added Epoch functionality for displaying readable dates from unix epoch timestamps
0.1
07 Jul 20:43
Compare
Sorry, something went wrong.
No results found