Pravee7094
Active Member
Hi all,
From @Mahares
I tested the above code. And its perfectly works for (year/month/date) format.
And I also want (hour/min/second/millisecond) this format.
Anyone Help!
Thanks
Praveen
B4X:
Dim MyQuery As String
MyQuery= "SELECT Mydate, col2, col3, (Substr(MyDate, 7,4) || Substr(MyDate, 1,2) || Substr(MyDate, 4,2)) AS DATE" _
& " FROM table1 WHERE DATE BETWEEN '20170217' AND '20170220' ORDER BY DATE"
cursor1=SQL1.ExecQuery(MyQuery)
From @Mahares
I tested the above code. And its perfectly works for (year/month/date) format.
And I also want (hour/min/second/millisecond) this format.
Anyone Help!
Thanks
Praveen