compare two dates and get an integer value

compare two dates and get an integer value

rrzavaletarrzavaleta Posts: 78Questions: 52Answers: 2

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

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    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

This discussion has been closed.