I'm running a query where the database has a date format of 2003-07-31 10:43:56.717
what command can I use to retrive records created 2 days ago
For example
select * from customers where createDate = 'currentdatetime'
I tried that I got a couple of errors about the date format not being correct