用整数比较时间 [英] compare time with an integers

查看:112
本文介绍了用整数比较时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI 我该如何比较从C#中的窗口中选择的时间与数字上下行控件中的整数
感谢

HI how can i compare the time selected from windows in c# with integer numbers in numeric updown control
thanks

推荐答案

这取决于您的整数表示什么.您可以使用64位整数表示和/或创建DateTime吗?
构造函数 [提示 [
It depends on what your integer represents. You can represent and/or create a DateTime from a 64bit integer if that helps?
Constructor[^]
Ticks[^]


这篇关于用整数比较时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆