与项目有关的问题 [英] prooblem with project
本文介绍了与项目有关的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有15/1/2015的日期,我想以字符串格式连续时间,但时间是00:00:00请帮助我。?
i have date 15/1/2015 and i want to concat time which is in string format but time is"00:00:00" please help me.?
推荐答案
Dim dt As String =15/1/2015
Dim tm as String =00:00:00
Dim dtstring As String = dt ++ tm
昏暗值As DateTime = New DateTime(dtstring)
http://www.dotnetperls.com/datetime-vbnet [ ^ ]
Dim dt As String = "15/1/2015"
Dim tm as String = "00:00:00"
Dim dtstring As String = dt + " " + tm
Dim value As DateTime = New DateTime(dtstring)
http://www.dotnetperls.com/datetime-vbnet[^]
这篇关于与项目有关的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文