home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_08_06 / 8n06069a < prev    next >
Text File  |  1993-04-07  |  586b  |  24 lines

  1. DateObjects can span dates from 1 January 4700 BC
  2. to 31 December 25000 AD, or 10847738 days.
  3.  
  4. A good reference date is 23 May 1968
  5. which should have a Julian date of 2440000.
  6. If we call GetJulian() to make sure, we find
  7. that it does, in fact, equal 2440000.
  8.  
  9. Attempting to add 10847738 days to 23 May 1968
  10. yields a Bad Date.
  11. Attempting to subtract 10847738 days from 23 May 1968
  12. yields a Bad Date.
  13. However, adding 10847738 days to 1 January 4700 BC
  14. yields 31 December 25000 AD.
  15.  
  16. Today is 4-07-1993.
  17. The next five days are:
  18. Thursday
  19. Friday
  20. Saturday
  21. Sunday
  22. Monday
  23.  
  24.