1 Reply Latest reply on Feb 14, 2012 3:12 PM by philmodjunk

    counter-grew up to 0

    HelderSantos

      Title

      counter-grew up to 0

      Post

      I always have difficulty in making a counter-grew up to 0.
      eg
      if I have an appointment in 3 days. How do I count-growing and when you arrive at "0" stop counting.
      He continues to tell and give a negative number, I do not want.

        • 1. Re: counter-grew up to 0
          philmodjunk

          I do not understand your description of this problem. I think this post has been poorly translated into English.

          AppointmentDateFIeld - Get ( CurrentDate ) will tell you the number of days from today to the appointment date.

          Max ( AppointmentDateFIeld - Get ( CurrentDate )  ; 0 )

          will return 0 once Get(CurrentDate) is greater than the appointment date.