Date Comparison

Results 1 to 2 of 2

Thread: Date Comparison

  1. #1
    Join Date
    Dec 1969

    Default Date Comparison

    I wanted to compare two dates in my client site validation.<BR><BR>Basically I have effective date and Expiry date in my form.<BR>I wanted to make sure the Expiry date is greater than the<BR>effective date in my validation. <BR><BR>Anyone have an idea how I can do this. <BR><BR>

  2. #2
    Arky Guest

    Default RE: Date Comparison

    Try using the Date() method to convert the field into a type of date, and then compare it if(Date1 &#062; Date2). You might want to make sure its in the format you want before you use Date()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts