| delorie.com/archives/browse.cgi | search |
| Message-Id: | <200004112154.RAA30688@delorie.com> |
| From: | "Larry Olin Horn" <hornlo AT millsaps DOT edu> |
| Organization: | Millsaps College - Comp and Telecom |
| To: | djgpp AT delorie DOT com |
| Date: | Tue, 11 Apr 2000 17:54:07 -0500 |
| Subject: | Re: timezone problems: tm_isdst not set; strftime("%z") is -0000 |
| In-Reply-To: | <200004111359.JAA06219@delorie.com> |
| X-mailer: | Pegasus Mail for Win32 (v3.12c) |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
oops! that's a typo: "%Z" yields "CST", as the attached output demonstrated
> strftime "%z" (lowercase "z") shows -0000 offset
> ("%Z", upcase, shows "CDT") <--- *TYPO*
[...]
> trtime:
> %a, %d %b %Y %H:%M:%S %z --> Tue, 11 Apr 2000 09:50:47 -0000
> %a, %d %b %Y %H:%M:%S %Z --> Tue, 11 Apr 2000 09:50:47 CST
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |