Trying to convert Xojo.Core.Date.Now to String but it doesn’t work?!
[code]Dim d As Xojo.Core.Date = Xojo.Core.Date.Now
Dim readDateTime As String = Str(d)
MsgBox(readDateTime)[/code]
Trying to convert Xojo.Core.Date.Now to String but it doesn’t work?!
[code]Dim d As Xojo.Core.Date = Xojo.Core.Date.Now
Dim readDateTime As String = Str(d)
MsgBox(readDateTime)[/code]
Try
[code]Dim d As Xojo.Core.Date = Xojo.Core.Date.Now
Dim readDateTime As String = d.ToText
MsgBox(readDateTime)[/code]
Note: I just visited Str page and it say that Value could be Date. But maybe is just for Date object and not the Date-related classes like Xojo.Core.Date? Sorry still learning Xojo.
Still learning myself but you are amazing!
Thanks
dim myString as String = Xojo.Core.Date.Now.ToText