Article View: news.software.readers
Article #243040--
From: JeffRelf.F-M.FM
Date: Sun, 07 Nov 2010 16:23
Date: Sun, 07 Nov 2010 16:23
34 lines
2320 bytes
2320 bytes
<PRE>
Really ? you ( Pieter Zijlstra ) don't want me to try XanaNews ?
Where's the latest “beta” ?
Here in Seattle, by the way, “Daylight Savings Time” ended this morning.
By the sun, today's “8 am” arrived one hour late.
The mega·sundial on the side of the University of Washington's
Physics/Astronomy Auditorium ( in Seattle, blocks from me ):
<img Src="http://www.zombiezodiac.com/rob/ped/clock/citywide/uw_sundial.jpg"
Alt="The mega·sundial on the side of the University of Washington's Physics/Astronomy Auditorium">
MicroSoft Visual C++ has a variable called “daylight”.
Today, I discovered that it's ·always· “true” ( Summer, -7 hours )... oops !
If I tried this:
“ unsigned __int64 Date_Now = time(0);
tm *TimeRec = localtime( ( time_t * ) & Date_Now ); ”
“ TimeRec->tm_isdst; ” would ·always· be “false” ( Winter, -8 hours );
so, for some odd reason, I can't use that !
Hopefully, come spring, this will still work ( as it does today ):
“ TIME_ZONE_INFORMATION UTC; int Minutes·Away ;
Minutes·Away = TIME_ZONE_ID_DAYLIGHT == GetTimeZoneInformation( & UTC )
? UTC.DaylightBias : UTC.StandardBias ;
Minutes·Away = -UTC.Bias + -Minutes·Away ; ”
The code ( above ) is in: <A hRef="http://jeffrelf.f-m.fm/X.CPP">X.CPP</A>.
Technical Details
Message-ID:
<JeffRelf.F-M.FM@_y3.2010_Nov.7_.8.23.am>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-sci.physics.(1199963).mbox.7z!not-for-mailReferences:
<JeffRelf.F-M.FM@_Li.2010_Nov.5_.3.28.pm> <ib26cm$nvh$1@tioat.net> <JeffRelf.F-M.FM@_zO.2010_Nov.5_.6.43.pm> <xn0h1anafc49lv1005Pieter@xs4all.nl> <JeffRelf.F-M.FM@_g3.2010_Nov.6_.3.34.am> <xn0h1c2t5dl36z6003Pieter@xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <JeffRelf.F-M.FM@_y3.2010_Nov.7_.8.23.am> Subject: -- Date: Sun, 07 Nov 2010 16:23:03 +0000 From: JeffRelf.F-M.FM · • ✼@. References: <JeffRelf.F-M.FM@_Li.2010_Nov.5_.3.28.pm> <ib26cm$nvh$1@tioat.net> <JeffRelf.F-M.FM@_zO.2010_Nov.5_.6.43.pm> <xn0h1anafc49lv1005Pieter@xs4all.nl> <JeffRelf.F-M.FM@_g3.2010_Nov.6_.3.34.am> <xn0h1c2t5dl36z6003Pieter@xs4all.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-sci.physics.(1199963).mbox.7z!not-for-mail Newsgroups: alt.free.newsservers,news.software.readers,sci.physics Organization: JeffRelf.F-M.FM Lines: 32 NNTP-Posting-Host: XJGH+5GM8EvggnDfgIBqtQ.5.posting.glorb.com Content-Type: Text/HTML; charset=UTF-8 X-Complaints-To: abuse@glorb.com NNTP-Posting-Date: Sun, 7 Nov 2010 16:23:03 +0000 (UTC) User-Agent: X.EXE X-Notice: Scanned by Mr. Bill X-Original-Bytes: 2457