Recent content by cosmicDASD
-
C
How do I calc a countdown to the date of an event?
More date links Okay, 2 more. The first one is a perpetual calendar in JavaScript. If you can get past the JavaScript & other web stuff, you can see you this person does it. http://www.geocities.com/CapeCanaveral/4274/perpcale.htm Do a view source to see it. Also, they have a...- cosmicDASD
- Post #11
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
C
How do I calc a countdown to the date of an event?
Coupla more links that might be helpful: Gotta be acurate! http://www.boulder.nist.gov/timefreq/service/its.htm The following might help in seeing how they organized their data structures and also provide some good background info: http://www.ietf.org/rfc/rfc3339.txt...- cosmicDASD
- Post #10
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
C
How do I calc a countdown to the date of an event?
Simpler than it looks Here is a good link on leap years. http://www.timeanddate.com/date/leapyear.html Other than that, using the language's built in date functions and simple math and data structures should do the rest. (e.g. year2-year1=difference_in_years, an array with the number of...- cosmicDASD
- Post #9
- Forum: MATLAB, Maple, Mathematica, LaTeX