Are you using a varchar in the MySQL-table for it?
It so, it wont work then.
Just use a 'date' variable and use the code you posted. But the date must by saved like this: yyyy-mm-dd .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum