2 Replies Latest reply: Aug 25, 2010 4:58 AM by Ingo-Placzek RSS

    Problem with date() in a if statement

    Ingo-Placzek

      Hello,

      I defined a variable vHour with the actual hour

      LET vHour = date(localtime(),'hh');

      and now I wanted to test if vHour is 00

      if vHour = '00' then ...

      but it doesnt work. I also tested this:

      if vHour = date(time('00:00:00'),'hh') then ...

      Pleas help me

      best regards

      Ingo Placzek