playMaker

Author Topic: Countdown timer using system time  (Read 1422 times)

sinman

  • Playmaker Newbie
  • *
  • Posts: 14
Countdown timer using system time
« on: April 26, 2014, 04:11:22 AM »
I wanted to create a timer counting down from May 1st 2014. So I did the following:

  • get system Date Time
  • make the format of the string to: yyyyMMddHHmm
  • convert the string above to Int

And if I try to run the above, it gives me an error of "OverflowException: Value is too large"

I tried searching for the answer on the forum, but the server seems to stop if I search for "value is too large"

Any way to go about the error?