| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
At 06:28p -0500 12/30/2003, Graff didst inscribe upon an electronic papyrus:
((b - theDate) div -2500000 + 1 )
Which takes the difference (in seconds) between the current date and and the the same day in January, divides that by 289 days (in seconds) and adds a month. This gives you the current month, roughly. This will probably work fine but I'd worry about it being correct under all circumstances.
OK, but then what makes 289 days so magical?
| References: | |
| >Re: getting the date (From: Nigel Garvey <email@hidden>) | |
| >Re: getting the date (From: Walter Ian Kaye <email@hidden>) | |
| >Re: getting the date (From: Graff <email@hidden>) | |
| >Re: getting the date (From: Walter Ian Kaye <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.