Dates in php
I'm building the server validation receipes at the moment and I'm having trouble using the server validation on a date field when using php min and max dates. None of the php syntax's are working (eg, Time(); mktime(0, 0, 0, date("m"), date("d"), date("Y"));) But they work fine when you enter a fixed date.
I have created a test php page to set $time = Time(); and then echo $time; to see what the result of the server is and this results in: 1245152341
Is this correct? Is this where the problem could be occuring (a server problem) or should I be looking somewhere else for a problem??