Re: UTC string -> time_t



Richard Heathfield wrote:
Eric Sosman said:

<snip>

It's a Darn Shame the standard library does not include mkgmtime().

<shrug> I just use mktime, which does precisely the same thing as
far as I'm concerned. :-)

Works for anyone. Set your system time to GMT. If you don't live
there you can add or subtract some number. It doesn't require
values larger than 13 (or 24 for the result).

--
Merry Christmas, Happy Hanukah, Happy New Year
Joyeux Noel, Bonne Annee.
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>



--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: UTC string -> time_t
    ... I just use mktime, which does precisely the same thing as far as ... Richard Heathfield ...
    (comp.lang.c)
  • Re: Great SWT Program
    ... good service from the vendor. ... Maybe it's cronyism, for suitable values of "cronyism", though ...
    (comp.lang.java.programmer)
  • Re: Couch Potato
    ... I snip the end that I don't read. ... misleading snippage for whatever reasons. ... Of course people have different meanings for "certainty", ...
    (misc.writing)
  • Re: Doubts about pointers
    ... snip ... ... indeed a small number of minor conformance issues. ... If you object to Richards statement, then you could be helpful and ...
    (comp.lang.c)
  • Re: Set up LiveJournal community?
    ... But <shrug> YMMV. ... I got all that the first time. ... it's serving the purpose of a soap. ...
    (rec.arts.sf.composition)