home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / days.c < prev    next >
C/C++ Source or Header  |  1998-06-17  |  598b  |  21 lines

  1. /***
  2. *days.c - static arrays with days from beg of year for each month
  3. *
  4. *       Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *       contains static arrays used by gmtime and statconv to determine
  8. *       date and time values.  Shows days from beg of year.
  9. *
  10. *******************************************************************************/
  11.  
  12. #include <internal.h>
  13.  
  14. int _lpdays[] = {
  15.         -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365
  16. };
  17.  
  18. int _days[] = {
  19.         -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364
  20. };
  21.