14 hours ago, kerdios said:-1 implies it already passed, but it didn't, maybe you meant only sqrt(-1) days away? (I don't know how to add latex)
You apparently haven't dealt with going past the maximum 32-bit integer number (2,147,483,647) available to a PC... (this error is what causes currency/HP, etc maximum number restrictions in most games) https://en.wikipedia.org/wiki/2,147,483,647