3 Replies Latest reply on Sep 21, 2012 3:36 AM by jfb00

    How to validate a date with time

    jfb00 Level 3

      Hi All,

      How can I validate date with time?

      Here is my code:

      var tempDate:Date = new Date();

       

      if (tempDate < '09/18/2012 7:30:00 AM'){

           doSomething

      }

       

      Thanks in advanced