Compare 2 fields of type date and time in CRM by Deluge
Good morning Zoho team, I need your help, I am performing a personalized function in which I verify that the data that has been entered in the subform, before going through the management approval, have the correct prices. Before that, I need to know if the date of inclusion of the data in my subform is less than my management approval date I have the following
if(Datecomp(fechaInclusionAccesorio) < Datecomp(fechaAprobacion)) {
//Function In Sub Formulario
}
else {
info "Not posible";
}
I need your urgent help to know how I can compare 2 fields of type date and time.