Download .zip |
Info | Example | View files (4) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-07-30 (13 days ago) | Not yet rated by the users | Total: 2 This week: 2 | All time: 8,982 This week: 349 |
Version | License | PHP version | Categories | |||
m14 1.0 | Custom (specified... | 5 | PHP 5, Time and Date |
Description | Author | |
This class can compute date and time from timestamp from year 0. |
datefromIncTimestamp class is simple class which use an algorithm based on Incredible timestamp package to compute the exact date and time for an Incredible timestamp from year 0 to the year 99999 the 31st December at 23:59:59. The class constructor: public function __construct($x){ "The parameter must be a numeric." if $x<0 the tag 'BFJC' will be add to the result. if $x>0 the tag 'AFJC' will be add to the result. if $x==0 the tag 'First Day will be add to the result. } The class contains except the constructor, 3 methods: -DatefromInc($christtag=true) which computes and return the exact date and time for an Incredible timestamp: $christtag is used to specify if you want the tag or no. -GetjustDate($christtag=false) which computes and return the exact date an Incredible Timestamp; $christtag is used to specify if you want the tag or no. - GetjustTime() which computes and return as its name shows just the exact time an event happens for a chosen Incredible Timestamp; See the testDatefromInc.php file for example of how to use. This script is too short to provide more documentation. Contact at leizmo@gmail.com |
Files |
File | Role | Description |
---|---|---|
DatefromInc.class.php | Class | class source |
license.txt | Lic. | license |
readme.txt | Doc. | readme |
testDatefromInc.php | Example | example script |
m14-2017-07-30.zip 4KB | |
m14-2017-07-30.tar.gz | |
Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
Incredible Timestamp | .zip .tar.gz | required to understand this class.This class have not sense without it | Required |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.