DateTime.ToOADate-仅时间 [英] DateTime.ToOADate - Time only
本文介绍了DateTime.ToOADate-仅时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个带有当前日期(DateTime.Now)的"DateTime"变量.我可以将其转换为OADate格式(41392,524432),例如.但是,我该如何转换,我只是获得没有日期的时间?例如,这种格式的1分4秒(01:04)是0,04444444.
I have a "DateTime" var with the current date (DateTime.Now). I can convert this to a OADate-Format (41392,524432) as example. But how I can convert this, that I'm just getting the time without the date? For example 1 minute and 4 seconds (01:04) are 0,04444444 in this format.
推荐答案
查看全文