CodeInigniter Form Forming Validation DateTime
$this->form_validation
->set_rules('fromdatetime',
'Date',
'required|regex_match[\d{4}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3(0|1))]');
Tiago F2