Top "Mktime" questions

mktime is a function that returns the time since the UNIX epoch from a given date and time.

awk: mktime returns -1

Can someone help me understand why I get "-1" returned by mktime in the following code. Thanks. #!/usr/local/bin/…

awk mktime
PHP Mktime error

I'm all of a sudden getting the following error on a site that I've done, which has been working fine …

php mktime
AttributeError: type object 'datetime.time' has no attribute 'mktime'

I'm getting this attribute error either because I'm importing the modules or else referencing them incorrectly. from datetime import date, …

python import mktime