Hi All,
I have a date in the format..
Delivery-date: Wed, 07 Oct 2015 19:29:59 -0500
How can I convert this.
I have tried this..
But get this error.
java.text.ParseException: Unparseable date: " Wed, 07 Oct 20"
Any thoughts.
Tom
I have a date in the format..
Delivery-date: Wed, 07 Oct 2015 19:29:59 -0500
How can I convert this.
I have tried this..
B4X:
DateTime.DateFormat= "ddd, dd MMM yyyy"
DateTime.TimeFormat="HH:mm:ss a"
Dim q As String = m.delivery
Dim tickC As Long = DateTime.DateTimeParse(q.SubString2(0,15),q.SubString(16))
Log(DateTime.Date(tickC))
But get this error.
java.text.ParseException: Unparseable date: " Wed, 07 Oct 20"
Any thoughts.
Tom