Searching for dates with SQLQuery function.

Question:

How can I search for dates with SQLQuery function?

Solution:

To do so, the comparison value of Date/Time field must be between  “#” signs, as seen below:

SQLQuery("DateTime = #15/12/2000 16:06:55#", "")

 

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *