linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: HIToC <hitoc_mail@yahoo.it>
To: linux-c-programming@vger.kernel.org
Subject: getdate(3) - format date
Date: Thu, 21 Sep 2006 22:36:45 +0200	[thread overview]
Message-ID: <200609212236.46183.hitoc_mail@yahoo.it> (raw)

Hello list,
I am using the getdate(3) function to convert a string date in its tm structure, but
I have tried several formats of string-dates and it always returns a NULL pointer.

All this dates I suppose invalid for the getdate(3):
Fri, 19 Nov 82 16:14:55 EST
Wed, 20 Sep 2006 15:03:53 GMT
Thu, 21 Sep 2006 08:59:25 +0400
19 Sep 2006 15:52:25 -0700
19 Sep 2006 15:52:25 EST

Do you know what are the correct string formats for this function and if under
Unix there are routines to read ascii string dates such in mail text messages
or USENET articles?

Thank you in advance
HIToC
-- 
With regards,


					HIToC
					hitoc_mail@yahoo.it

             reply	other threads:[~2006-09-21 20:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21 20:36 HIToC [this message]
2006-09-22  7:28 ` getdate(3) - format date Steve Graegert
2006-09-22 20:40   ` HIToC
2006-09-25  8:53     ` Henry Margies
2006-09-26 17:27       ` HIToC
2006-09-28  7:38         ` Henry Margies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609212236.46183.hitoc_mail@yahoo.it \
    --to=hitoc_mail@yahoo.it \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).