Why Do Older Macs Reset to 1904?
Low End Mac Reader Specials
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: LA Computer Company: Specials on AppleCare, Apple Displays, MacBooks, iMac's, MacBook Pros, Laptop and iPod accessories and more. Apple A/C Adapters for laptops starting at $25.00 Call 1-800-941-7654 or Click Here.
OWC: Top Quality Memory for Faster Mac Performance 1GB/2GB/4GB Kits from $23.99/$47.99/$94.99 Expert Support, Free Installation Videos & Guides, Lifetime Advance Replacement Warranty - www.MacSales.com
Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.
MacBook/MacBook Pro / MacMini / iMac Intel Core2 DUO DDR2 667Mhz 4GB Kit $84, 3GB Kit $60, 2GB Kit $40 1GB $20. Click to Maximize your Macs...
- 2004.01.15
The resetting of the Mac's system date to 1/1/1904 has been explained before, even on this site - see for example 1/1/2K Just Another Day for Macs, which explains that the number of bits in the original Mac dedicated to counting dates limits the number of individual days that can be counted - and you have to start counting somewhere.
Also, the reason 1904 was selected is explained clearly in an article by Geoff Duncan.
Duncan writes, "And as for the year 2040 [when the clock on pre-PowerPC Macs runs out. ed], there's an interesting explanation behind Apple's odd expiration date. The original Mac development team chose midnight, January 1, 1904, as the start of the Mac calendar - in part because it's mathematically convenient to have a calendar system start on a leap year [boldface mine], which 1900 was not. And since the calendar was built to cover approximately 136 years, your Mac OS won't expire until the start of the year 2040."
Why is it "mathematically convenient"? I suspect it is because the formula used to convert the number of days since "time zero" in 1904 does so by counting the number of leap years between the current date and the "time zero" date. This is simply a matter of taking the number of integer years divided by 4, unless you extend dates to before 1900 - which would require an if-then branch to add a day back in on that date since 1900 was not a leap year.
In the early days of computing (unlike today) every byte counted because of limited storage space. For the same reasons that led Microsoft and many others to use a two-digit year, prompting the whole Y2K issue, Macintosh programmers decided to start on a date that eliminated a tiny bit of code.
Well, that explains everything except for one thing. Why wasn't 1900 a leap year? 2000 was a leap year, and if there's a leap year every 4 years, shouldn't 1900 have been a leap year.
Well, that's a different story.
According to timeanddate.com, the leap year rules aren't as simple as most people think. Because the earth's year is not exactly 365.2500 days long, the old Julian calendar rule of "one leap day every four years" isn't sufficient to keep the earth's position in its orbit approximately constant for the same date as the years go by. Without leap years, the calendar will gradually shift until it's snowing in July in Los Angeles.
An error like this actually prompted a shift of several days in mid-month both in 1582 and 1782. One day it was September 2, and the next September 14. You can imagine the confusion that caused - much greater than a date reset on a Macintosh.
Anyway, next time you're working on a dead Mac and someone asks "Why 1904?" you can respond with a relatively simple answer: "Because there aren't exactly 365 days in a year."
Jeff Adkins is a science teacher who isn't afraid to state his preferences in computing platforms. In his classroom he has everything from a beige All-in-One to a a G4 XServe, and they all work together nicely. He calls himself the "poster child for technology integration" in the classroom. He was the 2006 Outstanding Educator of the Year for the California Computer Using Educators (CUE) organization. He also maintains a site for astronomy teachers at www.AstronomyTeacher.com.
Recent Mac Lab Reports
- Microsoft Word 2004 vs. iWork Pages 1.0 for writing a book, 01.10. Microsoft Word is great for technical writing, powerful yet slow, while Pages lets you concentrate on just writing, making it great for novels.
- iWeb a great tool for quickly creating an attractive website, 09.11. Apple's iWeb software isn't just easy to use, it also integrates nicely with .mac and other programs in the iLife bundle.
- Use your Bluetooth phone to control your Mac? Maybe, 02.27. Salling Clicker software turns many Bluetooth phones into remote controls for Bluetooth-equipped Macs.
- More in the Mac Lab Report index.
Recent Content on Low End Mac
- Mac Pro overclocking, Windependence with Darwine, Blu-ray for Macs, and more, Mac News Review, 07.04. Also more on running Leopard on non-Apple hardware, Ubuntu on a Mac mini, the first autofocus webcam with Zeiss optics for Macs, and more.
- Wouldn't life be great with an iSlate?, John Hatchett, Recycled Computing, 07.04. PDAs and smartphones are too small for some tasks, full-fledged Tablet PCs are overkill, and ebook readers are too limited. Apple has the tech to own this niche.
- Mac of the Day: Blue & White Power Mac G3, Jan. 1999 - The most colorful Power Mac introduced an innovative 'drawbridge' enclosure.
- List of the Day: SuperMacs is for those using Umax SuperMac clones.
- July 6 in LEM history: 00: 3 user accelerators - 01: SCSI and FireWire Disk Mode - Stick with the Mac - Computers for college - 05: Optimizing OS X performance - Return of the bumper snicker - 06: Can consumer MacBook replace 2 PowerBooks and a ThinkPad? - Vintage Macs with System 6 run circles around 3 GHz Windows PC - Run Windows apps without Windows
- The Macintosh Portable started a notebook revolution, Carl Nygren, Classic Macs in the Intel Age, 07.03. Before Apple introduced the Mac Portable, notebook computers were text-based and ran MS-DOS. Ever since, graphical interfaces have been the norm for laptops.
- More links in our archive.
Go to the Mac Lab Report index.
About LEM | Support | Usage | Privacy | Contacts


