D - timezone
- Pavel Minayev (8/8) Jan 02 2002 Not really D, but since it is able to interface with C libraries...
-
Walter
(3/11)
Jan 02 2002
Doesn't everyone live on the west coast?
- Robert W. Cunningham (3/15) Jan 02 2002 Maybe, I don't know: I live on the Left Coast. ;^)
- Russell Borogove (3/20) Jan 02 2002 All the important people do, Walter, so don't worry about it.
Not really D, but since it is able to interface with C libraries... When I was writing the daytime server sample in D, I first tried to use the gmtime() function... and came to the interesting fact that D sets the _timezone variable according to PST, and _daylight to 0. I mostly used Borland C++ before, which automatically retrieves this stuff from the OS and fills the variables with proper values - in my case, for example, it's GMT+3 and _daylight=1. Why not do the same in DMC time library?
Jan 02 2002
"Pavel Minayev" <evilone omen.ru> wrote in message news:a1084f$2hfe$1 digitaldaemon.com...Not really D, but since it is able to interface with C libraries... When I was writing the daytime server sample in D, I first tried to use the gmtime() function... and came to the interesting fact that D sets the _timezone variable according to PST, and _daylight to 0. I mostly used Borland C++ before, which automatically retrieves this stuff from the OS and fills the variables with proper values - in my case, for example, it's GMT+3 and _daylight=1. Why not do the same in DMC time library?Doesn't everyone live on the west coast? <g>
Jan 02 2002
Walter wrote:"Pavel Minayev" <evilone omen.ru> wrote in message news:a1084f$2hfe$1 digitaldaemon.com...Maybe, I don't know: I live on the Left Coast. ;^) -BobCNot really D, but since it is able to interface with C libraries... When I was writing the daytime server sample in D, I first tried to use the gmtime() function... and came to the interesting fact that D sets the _timezone variable according to PST, and _daylight to 0. I mostly used Borland C++ before, which automatically retrieves this stuff from the OS and fills the variables with proper values - in my case, for example, it's GMT+3 and _daylight=1. Why not do the same in DMC time library?Doesn't everyone live on the west coast? <g>
Jan 02 2002
Walter wrote:"Pavel Minayev" <evilone omen.ru> wrote in message news:a1084f$2hfe$1 digitaldaemon.com...All the important people do, Walter, so don't worry about it. -Russell B, San Francisco, CANot really D, but since it is able to interface with C libraries... When I was writing the daytime server sample in D, I first tried to use the gmtime() function... and came to the interesting fact that D sets the _timezone variable according to PST, and _daylight to 0. I mostly used Borland C++ before, which automatically retrieves this stuff from the OS and fills the variables with proper values - in my case, for example, it's GMT+3 and _daylight=1. Why not do the same in DMC time library?Doesn't everyone live on the west coast? <g>
Jan 02 2002