Hi
I am try to format the date so I only see the date
Like 18-07-2012
I get this error
java.text.ParseException: Unparseable date: "2012-07-18T10:46:36" (at offset 4)
Regards
Sigster
I am try to format the date so I only see the date
Like 18-07-2012
I get this error
java.text.ParseException: Unparseable date: "2012-07-18T10:46:36" (at offset 4)
B4X:
<dagsetning>2012-07-18T10:46:36</dagsetning>
B4X:
Else If Name = "dagsetning" Then
Dim data As Long
data = DateTime.DateParse(Text.ToString)
'DateTime.DateFormat = "yyyy-MM-dd"
DateTime.DateFormat ="MM/dd/yyyy"
Dim DateString As String
dagsetning_titill = DateTime.date(data)
End If
Regards
Sigster