Creating a Calendar in PHP

This tutorial will explain how to create a dynamic calendar from scratch in PHP. There are two functions that will greatly simplify the process: mktime and getdate. The function mktime gets a Unix timestamp from the supplied arguments hour, minute, second, month, day, and year (each defaulting to the current). The function getdate is the opposite, turning a timestamp into an array of date information. See the manual pages (linked) for more information on these functions. Using these functions, it is fairly easy to gather all the information needed to create a dynamic calendar.

 
Visit Site:
Creating a Calendar in PHP
Filed in:
PHP / Tutorials & Tips / Calendars
Date Added:
Jan 7, 2009 
Last Updated:
Aug 7, 2009 

License and Pricing Information

PHP

Price: $0.00 USD

Publisher site visits: 780
Average rating: 0.00
Total ratings: 0

Be the first to review this listing!

Publisher Info

Author:
UltraMega Tech. 
Other listings by this publisher

Share this Listing