home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
timeset.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-17
|
1KB
|
43 lines
/***
*timeset.c - contains defaults for timezone setting
*
* Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Contains the timezone values for default timezone.
* Also contains month and day name three letter abbreviations.
*
*******************************************************************************/
#include <cruntime.h>
#include <stdlib.h>
#include <time.h>
#include <internal.h>
long _timezone = 8 * 3600L; /* Pacific Time Zone */
int _daylight = 1; /* Daylight Saving Time (DST) in timezone */
long _dstbias = -3600L; /* DST offset in seconds */
/* note that NT Posix's TZNAME_MAX is only 10 */
static char tzstd[64] = { "PST" };
static char tzdst[64] = { "PDT" };
char *_tzname[2] = { tzstd, tzdst };
/* Day names must be Three character abbreviations strung together */
const char __dnames[] = {
"SunMonTueWedThuFriSat"
};
/* Month names must be Three character abbreviations strung together */
const char __mnames[] = {
"JanFebMarAprMayJunJulAugSepOctNovDec"
};