2 Replies Latest reply on Nov 27, 2013 7:01 PM by NewApexCoder

    Simple validation on start and end dates


      Apex 4.2


      I am trying to create a validation script on my start date and end date. A simple validation that says the start date selected has to be less than the end date. Because apex treats my date fields as strings, using a pl/sql expression such as P101_START_DATE <= P101_END_DATE doesn't work. This may seem like an easy issue but I am having trouble creating this simple validation. Any help would be greatly appreciated. Thanks in advance!