I want to validate datetime field
<datetime v-validate="'before:2016-05-25|date_format:yyyy-MM-dd|required'" format="YYYY-MM-DD" name="DateTime" width="100px" id="DateTime" :class="['form-control', {'is-invalid': errors.has('DateTime')}]" v-model="DateTime" ></datetime>
This part is working and validating also.
This is only accepting and validation date but i want to enter time also, when i enter yyyy-MM-dd H:i:s it does not validate date time anymore and i want to make this date before:2016-05-25 dynamic it should get the current date time.
Any help is highly appreciated.