delorie.com/archives/browse.cgi | search |
From: | newsham AT aloha DOT net (Tim Newsham) |
Subject: | strftime missing functionality? |
28 Jan 1997 19:22:59 -0800 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199701290220.QAA20883.cygnus.gnu-win32@haleakala.aloha.net> |
Mime-Version: | 1.0 |
Original-To: | gnu-win32 AT cygnus DOT com |
X-Mailer: | ELM [version 2.4 PL24 PGP3 *ALPHA*] |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
Hi, When using strftime() I am getting some missing fields. In particular: strftime(buf, 50, "%d %h %Y %T GMT", gmtime(&t)); gives me a buffer: "25 1994 GMT" with missing "%h" and "%T", and strftime(buf, 50, "%a %b %d %H:%M:%S %Z %Y", localtime(&t)); gives me a buffer: "Sun Dec 25 17:00:00 1994" with missing "%Z". Tim N. - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |