PHP Classes
elePHPant
Icontem

Get Futurist Date: Calculate a date adding a number of days to today

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-08-22 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 387 This week: 1All time: 6,139 This week: 1,122Up
Version License Categories  
get_futurist_date 1.0GNU General Publi...Time and Date
Description Author  

This is a simple class that can calculate what will be a date in the future.

It can add a given number of days, months and years to today's date.

The resulting date can be returned as an associative array with entries for the date with a given format, as Unix timestamp, and also separating the year, month and day components.

Picture of NaiFPHP
Name: NaiFPHP <contact>
Classes: 6 packages by
Country: Saudi Arabia Saudi Arabia
Age: 28
All time rank: 5492 in Saudi Arabia Saudi Arabia
Week rank: 891 Down4 in Saudi Arabia Saudi Arabia Down
Innovation award
Innovation award
Nominee: 1x

Details provided by the author  
/*
//------------------------------------------------------------------------------------------------------------------
|| @ Script Desc  : Get a futurist date from today date to your adding date
|| @ Version      : 1.0 beta
|| @ Created      : NAIF PHP
|| @ Web Site     : www.naifphp.net
|| @ Date Created : 22 - 8 - 2006
//-------------------------------------------------------------------------------------------------------------------
*/

Get a Futurist Date from today .
---------------------------------------------


- use this class when you want getting a futurist date from today date to date added by you.

- you can add one day or month or year or more or all of them , as you like .

- it can help you to get unix format date , when using ads system deleting automatically after same date you can use unix format .

- it results a difference day,month and year from today date to a futurist date .
  Files folder image Files  
File Role Description
Plain text file GetFuturistDate.class.php Class Get a Futurist Date Class
Accessible without login Plain text file example.php Example example for Get a Futurist Date Class
Accessible without login Plain text file readme.txt Doc. for more information about Get a Futurist Date Class
Accessible without login Image file output.gif Output A sample for Test The Class :)

 Version Control Unique User Downloads Download Rankings  
 0%Total:387All time:6,139
 This week:1This week:1,122Up