bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with mktime


From: Petko Bogdanov
Subject: problem with mktime
Date: Mon, 21 Jun 2010 13:40:48 -0700

I am using GNU Awk 3.1.6
OS: Ubuntu 9.10 64-bit

The problem is with the function mktime

to reproduce:
gawk 'BEGIN{print mktime("2008 03 09 02 37 43")}'

outputs -1
although the date format specification is correct

changing the month to 04 results in a valid timestamp

petko


reply via email to

[Prev in Thread] Current Thread [Next in Thread]