This topic is locked

Set Date Field.

3/23/2013 6:04:26 PM
PHPRunner General questions
J
joiresende author

Hello

Is there any way to set the date fields, so it is not typed a date greater than the current date.

J
joiresende author 3/28/2013

I found the solution in

http://xlinesoft.com/phprunner/docs/check_if_start_date_is_ealier_than_end_date.htm
I need only compare my date field with the current date.
as it would replace the field (end_data) by now() in the code below:
if (toPHPTime ($ values ​​['start_date'])> toPHPTime ($ values ​​['end_date']))