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 publisher site: Creating a Calendar in PHPListing Details
- Filed in:
-
Scripts / PHP / Tutorials & Tips / Calendars
- Submitted on:
- Last Updated:
- Aug 7, 2009
- Publisher:
- UltraMega Tech. Other listings by this publisher
License & Pricing Information
LICENSE #1
- License Type:
- PHP
- Price:
- $0.00 USD
- Additional Info:
User Reviews
Be the first to review this listing!Not yet reviewed by any member.... You can be the FIRST one to write a review for Creating a Calendar in PHP