Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 97 | All time: 9,489 This week: 260![]() |
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 |
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | class source |
![]() ![]() |
Lic. | license |
![]() ![]() |
Doc. | readme |
![]() ![]() |
Example | example script |
![]() | m14-2017-07-30.zip 4KB |
![]() | m14-2017-07-30.tar.gz 3KB |
![]() | Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
Incredible Timestamp | ![]() |
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.