I need to do something like this in sqlite (c# app):
select DATE(XDATE,'+XDAYS day') from TABLE
XDATE and XDAYS fields are strings type, stored in "TABLE" table.
someone understood me and could help me? Thank you.
I need to do something like this in sqlite (c# app):
select DATE(XDATE,'+XDAYS day') from TABLE
XDATE and XDAYS fields are strings type, stored in "TABLE" table.
someone understood me and could help me? Thank you.
Use the SqlLite DateTime modifiers (https://www.sqlite.org/lang_datefunc.html)
for instance: SELECT date('now','start of month','+1 month','-1 day');
if you have numeric data