[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with mktime
From: |
Petko Bogdanov |
Subject: |
Re: problem with mktime |
Date: |
Mon, 21 Jun 2010 16:09:29 -0700 |
Thanks a lot!
Petko Bogdanov
1-805-699-5048
Department of Computer Science
University of California
Santa Barbara, CA 93106-5110
http://www.cs.ucsb.edu/~petko/
On Mon, Jun 21, 2010 at 3:49 PM, Paul Eggert <address@hidden> wrote:
> On 06/21/2010 01:40 PM, Petko Bogdanov wrote:
>
> > gawk 'BEGIN{print mktime("2008 03 09 02 37 43")}'
> >
> > outputs -1
> > although the date format specification is correct
>
> The _format_ is correct, but the _timestamp_ is not. No such time exists
> in North America,
> due to the daylight-saving time switchover. Gawk is within its rights to
> reject
> invalid time stamps like that.
>