Home > Software engineering >  Vb time conversion issues
Vb time conversion issues

Time:09-20

Can use vb6 realize transformation under the
DateTime. Now. ToOADate (). The ToString ();//39695.8461709606
How to realize thanks

CodePudding user response:

DateTime. Now. ToOADate (). The ToString ();//39695.8461709606
How to implement thank you

CodePudding user response:

CDbl (data) type date put data into a floating-point type date

CodePudding user response:

Can you specifically friend, thank you

CodePudding user response:

reference 1st floor chunming response:
DateTime. Now the ToOADate (). The ToString ();//39695.8461709606
How to implement thanks


refer to the second floor bakw response:
CDbl (data type date) put the data into a floating-point type date


Thank you for your done

CodePudding user response:

This is how specific ah, you tried, such as
 
Private Sub Form_Load ()
The Debug. Print CDbl (CDate (" the 2017-08-04 09:00:00 "))
The Debug. Print CDbl (Now)
End Sub
  • Related