Options

Date Comparison

jmlozaresjmlozares Member Posts: 110
Can I directly compare a date value as:
   date1 := 04/10/09;
   date2 := 04/11/25;
   
   IF date1 <= date2 THEN
      ...

Janderol Lozares Jr.
Manila, Phils.

Comments

  • Options
    randrewsrandrews Member Posts: 135
    jmlozares wrote:
       date1 := 04/10/09;
       date2 := 04/11/25;
       
       IF date1 <= date2 THEN
          ...
    

    Yes. But date must be in correct format. For example, I did it with date in dd.mm.yy
    I don't know will it work with yy/mm/dd
  • Options
    jmlozaresjmlozares Member Posts: 110
    Thanks!!!
    Janderol Lozares Jr.
    Manila, Phils.
Sign In or Register to comment.