3 Replies Latest reply on Jul 24, 2007 3:38 PM by Newsgroup_User

    Date Fields

    Steele Imaging
      If I have 2 date fields on stage can I calculate the difference?

      For instance...

      Someone wants me to run a banner ad on a website. Say I charge $XX per day. If I have a dateField labeled 'startdate' to signal the day that the banner ad will start, and another dateField labeled 'enddate' signaling the date it ends. I need to calculate the days between start and stop and multiply it by the current rate.

      How is this possible?