Hi all.
i m working on app where i need put all info of my db on one CLV
on my DB i have a TEXT collum with the name created_at
on created_at collum i store the dates, the dates are saved with this format
2017-02-16 (yyyy-MM-dd)
the query´s i tryed use is this
all this querys dont work, the order by its ignored i think.
i m tryed change the date to
Here is the result (Today = 18 , Yesterday = 17) and the first results is day 16, i really dont know why it is not in order
this result = how is my clv
someone can help me with this pls?
I just need to put the latest content in a clv
order by lastest date
thx
i m working on app where i need put all info of my db on one CLV
on my DB i have a TEXT collum with the name created_at
on created_at collum i store the dates, the dates are saved with this format
2017-02-16 (yyyy-MM-dd)
the query´s i tryed use is this
B4X:
Starter.sql.ExecQueryAsync("GeraTimeline", "select * from timelineMensagens ORDER BY date(created_at) ASC LIMIT 100", Null)
B4X:
select * from timelineMensagens ORDER BY date(created_at) ASC LIMIT 100
B4X:
select * from timelineMensagens ORDER BY created_at ASC LIMIT 100
B4X:
select * from timelineMensagens ORDER BY created_at DESC LIMIT 100
B4X:
select * from timelineMensagens ORDER BY datetime(created_at) ASC LIMIT 100
all this querys dont work, the order by its ignored i think.
i m tryed change the date to
- YYYY-MM-DD
- YYYY-MM-DD HH:MM
- YYYY-MM-DD HH:MM:SS
- YYYY-MM-DDTHH:MM
Here is the result (Today = 18 , Yesterday = 17) and the first results is day 16, i really dont know why it is not in order
this result = how is my clv
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-16
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-02-17
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-03-12
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-04-13
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-05-25
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
LOADED DATE:2017-06-15
** Activity (timeline) Pause, UserClosed = false **
someone can help me with this pls?
I just need to put the latest content in a clv
order by lastest date
thx