Running Windows, Android
Have the FFox SQL Manager, when I execute the below Qurey in that tool, it returns proper data
select m.type, m.details, m.date, m.time from meals m where m.date = '2013-08-26' order by m.displayorder asc
Run my app which returns that exact string above and have app execute, fail returns yesterdays data. I dont get it. I understand you have to use locatltime, but why would it work when ran in the tool vs app? and how do you pass localtime, when you passing the date directly?, dosent make sense. Help!
var sqlString = 'select m.type, m.details, m.date, m.time from meals m where m.date = "' + getDate("sql") + '" order by m.displayorder asc';
getDate("sql") is my function and returns 2013-08-26