From: Anastasia Gornostaeva <ermine@ermine.pp.ru>
To: Caml-list@yquem.inria.fr
Subject: Re: [Caml-list] .-
Date: Fri, 24 Dec 2004 14:27:25 +0300 [thread overview]
Message-ID: <20041224112725.GA10247@ermine.home> (raw)
In-Reply-To: <41CBF877.3070102@epost.de>
On Fri, Dec 24, 2004 at 12:07:35PM +0100, Alexander Fuchs wrote:
> Form the manual:
>
> gmtime : Assumes UTC (Coordinated Universal Time), also known as GMT.
>
> mktime : The tm argument is interpreted in the local time zone.
>
> So, actually you compare GMT with your local time zone, which in my case
> (Germany) returns 0 for the above example.
>
>
> Try localtime instead of gmtime:
>
> localtime : Assumes the local time zone.
>
Great, thank you. Now it works as expected.
ermine
next prev parent reply other threads:[~2004-12-24 11:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-24 10:04 .- Anastasia Gornostaeva
2004-12-24 10:53 ` [Caml-list] .- Benjamin Geer
2004-12-24 11:25 ` skaller
2004-12-24 11:34 ` Benjamin Geer
2004-12-24 11:07 ` Alexander Fuchs
2004-12-24 11:27 ` Anastasia Gornostaeva [this message]
2004-12-24 11:14 ` Julien Cristau
2004-12-24 11:19 ` skaller
2004-12-24 12:14 ` Anastasia Gornostaeva
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=20041224112725.GA10247@ermine.home \
--to=ermine@ermine.pp.ru \
--cc=Caml-list@yquem.inria.fr \
/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