5
Jan/092
Jan/092
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.
Categories
- General (6)
- News (4)
- Projects (10)
- Lock My Stuff (2)
- TempServers (8)
- Software (7)
- Tips & Tutorials (42)
Archives
- [+]2010 (3)
- [+]2009 (46)
- [+]December (5)
- [+]November (3)
- [+]October (2)
- [+]September (4)
- [+]August (4)
- [+]July (4)
- [+]June (6)
- [+]May (4)
- [+]April (4)
- [+]March (4)
- [+]February (2)
- [+]January (4)
- [+]2008 (15)
- [+]December (14)
- AJAX Loading Image Generator
- Reloading Images Using JavaScript
- Creating a CAPTCHA in PHP with GD
- Bypassing Register_Globals in PHP
- Toggle Display of Page Elements with JavaScript
- What is AJAX?
- WordPress 2.7 Released
- LMS New Feature: Email Form
- Strong Passwords
- ISPConfig - Open Source Web Hosting Panel
- Simple PHP Page Template System
- Creating an Upload Progress Bar in PHP with APC
- Introducing LockMyStuff.com
- About This Blog (WordPress)
- [+]November (1)
- [+]December (14)
