KB-30114: Data format error in a Query.

Question:

Why is the data format being regarded as month/day instead of day/month in a Query’s filter by date when the day is a number lower than 13?

Solution:

This happens because the database’s data type is set up as string, and CDate command does not convert this value properly.

To fix this, the data type must be set up as double.

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 *