Maximum Timer interval

后端 未结 9 1282
心在旅途
心在旅途 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:04

    Set a datetime variable to the datetime when you want to execute whatever it is... Then just have the timer check every minute, (or whatever your level of required accuracy is) to see if that datetime has past...

提交回复
热议问题