PX : time and date : calculators

parent section: time and date (0)

TitleAuthorRating Views Last Modified    
Date Converter 1.00 Le Viet Thang -- 5231 2001-05-27 17:22:13 [ link ]
Date Converter displays date (e.g : Sunday, May 27 2001) in any language. You only need to modify dates and months array before use this script in your web page.
Future Date Maker v1.0 Scott MacLeod -- 10470 1999-12-26 15:51:05 [ show ]
This code has been hacked from javascript to Perl to PHP, so there may be some bugs in it, but it is able to create a future date up to several months into the future. You can give the script an integer (like 15) and it will create a date 15 days into the future, or you can preset monthly projected time frames (like July = 6 weeks into the future) for on-the-fly future date creation.
GregorianDateClass 0.2 Edwin C. Villapando -- 4777 2002-01-05 03:58:39 [ show ]
Date class creation. Date arithmetic functions. Does not limit date manipulation before 1970 and after 2037
KronoClass 0.5 Tommaso D'Argenio -- 5465 2003-01-25 17:19:18 [ link ] [ show ]
Performs various operations on dates and times. This class is not based on LC_TIME setting of PHP but on internal arrays. Support for this language: Italian, English, French, German, Spanish, Portuguese, Japanese, Norwegian, Indonesian.
Nth Weekday of Month 0.9 David Cloutman -- 5464 2001-11-07 02:25:38 [ show ]
This script returns a date for the nth weekday of a month. This is useful for many organizations that have monthly meetings. If for instance, your client has a meeting on the 3rd Tuesday of every month, you can use this script to auto-update the page with the correct date. At the time of submission, this script was less than a month old, so this version may still have some bugs. It might also work in PHP 3, but I haven\'t tested it in that environment yet.
Nth Weekday of Month 0.9 David Cloutman -- 3726 2001-11-07 02:26:46 [ show ]
This script returns a date for the nth weekday of a month. This is useful for many organizations that have monthly meetings. If for instance, your client has a meeting on the 3rd Tuesday of every month, you can use this script to auto-update the page with the correct date. At the time of submission, this script was less than a month old, so this version may still have some bugs. It might also work in PHP 3, but I haven\'t tested it in that environment yet.
PHP3 Countdown Script .1 mike gifford -- 11812 2000-05-10 12:59:42 [ link ] [ show ]
Simple Countdown Script (how many days until....)
RFU week number 1.0 Tim Rogers -- 5322 2002-08-24 19:33:32 [ show ]
This function returns the Rugby Football Union (RFU) week number used to identify each Saturday during the rugby football season in the United Kingdom.
RSA Patent Countdown 0.2 Jason Costomiris -- 8789 2000-01-14 12:18:09 [ show ]
RSA's patent on the now famous RSA encryption algorithm expires on 20 Sept., 2000. This class returns an array with the status of the patent, number of days, hours, minutes and seconds from an arbitrary time.
sunrise sunset calculator 1.0 Matt Florell -- 19245 2000-04-24 18:04:15 [ link ] [ show ]
This code will give you the sunrise and sunset times for any latutude and longitude in the world. You just need to supply the latitude, longitude and difference from GMT.
sunrise/sunset class (original by Matt Florell) 1.0 Mårten Andersson -- 5406 2002-11-30 08:26:49 [ show ]
Class to calculate the sunrise/sunset for a specific date on an specific spot (longitude, latitude).

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.