创建计时器和通知 [英] Create a timer and notification
本文介绍了创建计时器和通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何创建一个从系统日期到指定日期的计时器,并创建时间倒数计数器以在新窗口中通知消息?(在Linux和Windows上)
谢谢.
How to create a timer from system date to a specified date and reverse counter of time to the notify a message on a new window?( on linux & windows )
Thanks.
推荐答案
不能代表Linux,但是在Windows上,您可以查看
Can''t speak for Linux, but on Windows you can look into
_gmtime_s
和
time
和
difftime
在MSDN中的时间管理"主题下查找.
Look in MSDN under the topic "Time Management".
这篇关于创建计时器和通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文