workaround for android difftime returing an overflow