Jump to content

Help with a Where Clause date


thehandsomecode

Recommended Posts

Hello all, I need some help to figure this one out.

I am trying to type a where clause to gather the following

Here are the fields

 

assigneddate : datetoclose

 

I need to pull all records where the "assigneddate" is less than todays date and  "datetoclose" is sometime in the future.

however if the "datetoclose" field is empty i do not want it to evaluate the "datetoclsoe" is somewhere inthe future string. In that case I only want it to parse the "assigneddate" is less than today's date.

 

Please help.

 

 

Link to comment
https://forums.phpfreaks.com/topic/224197-help-with-a-where-clause-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.