hi
I can't get output. where am i doing wrong?
thanks.
I can't get output. where am i doing wrong?
thanks.
B4X:
................
Dim pubDate As String = item.Get("pubDate")
......................
pubDate="Fri, 24 Dec 2021 20:59:36 GMT"
................
DateTime.DateFormat = "EEE, dd MMM yyyy HH:mm:ss Z"
Dim lDate As Long = DateTime.DateParse(pubDate)
DateTime.DateFormat = "MM/dd/yyyy HH:mm:ss"
Dim sDate As String = DateTime.Date(lDate)
Log(sDate)
[QUOTE]
java.text.ParseException: Unparseable date: "Fri, 24 Dec 2021 20:59:36 GMT"
[/QUOTE]
Last edited: