Category : C++ Source Code
Archive   : VCCRT2.ZIP
Filename : CTIME.H

 
Output of file : CTIME.H contained in archive : VCCRT2.ZIP
/***
*ctime.h - constant for dates and times
*
* Copyright (c) 1985-1992, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Include file used by the ctime routines containing definitions of
* various constants used in determining dates and times.
* [Internal]
*
****/

#define _DAY_SEC (24L * 60L * 60L) /* secs in a day */

#define _YEAR_SEC (365L * _DAY_SEC) /* secs in a year */

#define _FOUR_YEAR_SEC (1461L * _DAY_SEC) /* secs in a 4 year interval */

#define _DEC_SEC 315532800L /* secs in 1970-1979 */

#define _BASE_YEAR 70L /* 1970 is the base year */

#define _BASE_DOW 4 /* 01-01-70 was a Thursday */

#define _LEAP_YEAR_ADJUST 17L /* Leap years 1900 - 1970 */

#define _MAX_YEAR 138L /* 2038 is the max year */


  3 Responses to “Category : C++ Source Code
Archive   : VCCRT2.ZIP
Filename : CTIME.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/