mardi 5 mai 2015

Convert VB Date () and DateAdd function to PHP

I have a simple VB function that shows records from current date and anything back to 21 days old.

WHERE date_added between date() and DateAdd('d', -21, Date())

How can I get the same effect using php?

Man thanks Frank

Aucun commentaire:

Enregistrer un commentaire