B4J Question Date Time to String

Declan

Well-Known Member
Licensed User
Longtime User
Is it possible to convert DateTime to a String format?
I have:
B4X: Copy
Dim MyTime As String = DateTime.now
Log(MyTime)
which returns:
B4X: Copy
1588594976350
How can I get this into a normal text representation"
Something similar to:
B4X: Copy
03 May 2020 11:47:38
 
Back
Top