KenshiroUK
Registered User.
- Local time
- Today, 15:39
- Joined
- Oct 15, 2012
- Messages
- 160
Hi all, I have a question on how to run a select query based on date for purchases.
Currently my date includes 2012-09-22T12:38:00+00:00, which when ran in query prompts the user for YY-MM-DD. I just want my user to be able to input the date as 2012-11-22, or 20121122, which will select orders from that day. When I run it tomorrow and put in the date it'll be tomorrows orders etc etc. I have tried 'like' and * but still returns nothing.
The row I'm using is purchase-date.
Currently my date includes 2012-09-22T12:38:00+00:00, which when ran in query prompts the user for YY-MM-DD. I just want my user to be able to input the date as 2012-11-22, or 20121122, which will select orders from that day. When I run it tomorrow and put in the date it'll be tomorrows orders etc etc. I have tried 'like' and * but still returns nothing.
The row I'm using is purchase-date.