PHPBuilder - Simple days ahead function



RSS Twitter
Snippets Calendars Dates

Simple days ahead function

by: Daniel
|
October 1, 2002

Version: 1.0

Type: Function

Category: Calendars/Dates

License: GNU General Public License

Description: Function that increment date with given days inputed.



function daysahead($no)
{
$prepare=mktime (0,0,0,date("m")  ,date("d")+$no,date("Y"));
$future=strftime("%d-%m-%Y",$prepare);
return $future;
}

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Daniel

Comment:



Comment:

(Maximum characters: 1200). You have characters left.