Android Question Date Error

sohil66

New Member
Licensed User
Longtime User
I have problem about the date :

I use this code :
===========
Dim now As Long
Dim dt As String
'DateTime.DateFormat = "yyyyMMdd" ' See this page regarding uppercase letters.
dt = DateTime.Date(now)
Msgbox (dt,"")
===========
and run the code in Android Emulator : I get error date : 1/1/1970

=============
===========
I Check the emulator date and it correct(Today date)
===========
 

Attachments

  • error1.png
    error1.png
    70.4 KB · Views: 413
Back
Top