Maximum Timer interval

后端 未结 9 1351
心在旅途
心在旅途 2021-01-04 01:58

The maximum interval of timer is 2,147,483,647. it\'s about 25 days. But in my requirements I need that the timer will wait 30 days. How can I resolve it? Please help.

9条回答
  •  醉酒成梦
    2021-01-04 02:28

    int days = 30;
    

    Create a timer for a period one day.

    Decrement days each time the timer fires.

提交回复
热议问题