Arggh: How to interleave answers in this interface?

I don't understand. Isn't this slightly backwards? exit(0) from main() typically means "successful" while   mktime() returns -1 if an error occurred.

yes - it is backwards; I was waiting for that comment. Will fix before merging.

The POSIX thing was an oversight though. Will fix.

Thanks for the review.