Reminds me of the year 2038 problem, which will be more scary than this.
So if you are storing epoch time (no of milli seconds after 1970) in integer variables, your code will most probably break, which I feel is going to happen in a lot of scenarios.