I have a table with the fields timeout and timein. I need to return a list of records where timeout is on a different day to timein. How can I achieve this?
I have a table with the fields timeout and timein . I need to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If both dates are in the same month, then:
or
will work..
If, however, they can be in different months, then you need to compare the full dates. This should do that for you: