I am having a problem with years in mktime()
.
Every time I pass a year lower than 1970 into my struct tm
and then run the mktime()
function to convert my structure, it fails (returns -1).
Does anyone have any idea why and if I can make this work somehow?