gpbimal
Member
Hi! I'm new for b4a, i'm trying to get date and time in a string but unable.
here is my code
Dim DTStr As String
DateTime.DateFormat="mm-dd"
DTStr = DateTime.Date(DateTime.Now)
DateTime.TimeFormat="hh:mm:ss a"
DTStr = DTStr & " [" & DateTime.Time(DateTime.Now) & "]"
Please correct me
here is my code
Dim DTStr As String
DateTime.DateFormat="mm-dd"
DTStr = DateTime.Date(DateTime.Now)
DateTime.TimeFormat="hh:mm:ss a"
DTStr = DTStr & " [" & DateTime.Time(DateTime.Now) & "]"
Please correct me