Jump to content

Querying time stamp field with a just a date.


This topic is 3097 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Quick question....Is there a way to include a time stamp field in the WHERE clause, but check only the date and not the entire timestamp.   In other words,

 

ExecuteSQL("SELECT field1 from table1 WHERE timestamp_Created = ?"; ""; ""; Get(CurrentDate) )

 

I could do this with greater than or less than conditions in the WHERE clause.   I'm just wondering if something like the sample query above can be done instead of the greater than or less than conditions.

 

 

Link to comment
Share on other sites

This topic is 3097 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.