compare two dates and get an integer value
compare two dates and get an integer value
rrzavaleta
Posts: 78Questions: 52Answers: 2
in Editor
Hi, I have a question on date fields.
What I want to do is get an integer from the comparison of two dates, a " date1 " is stored in the database and the other " date2 " ( this is not saved, you would be obtained from php or otherwise suggest me ) .
thx
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Are you using client-side or server-side processing. For server-side processing you would need to update whatever server-side script you are using to accept additional input and perform the query condition.
For client-side processing you would likely need to create a custom plug-in filter (assuming it is filtering you want to do).
Allan