Browse thread
.-
-
Anastasia Gornostaeva
- Benjamin Geer
-
Alexander Fuchs
- Anastasia Gornostaeva
- Julien Cristau
- skaller
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Anastasia Gornostaeva <ermine@e...> |
| Subject: | Re: [Caml-list] .- |
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