2 Replies Latest reply on Feb 8, 2017 1:11 PM by keywords

    Script

    garry107

      Can anyone help me with the script for difference of dates so that i have a field with days remaining there.

       

      Thanks,

      Garry

        • 1. Re: Script
          siplus

          "the" script indicates a specific script you don't specify nor show

           

          a field there, where ?

           

          Please always use the template

           

          as a <....>,

           

          and let us decide what you need in order to.

           

          it might be

           

          - a script

          - a calc field

          - a new relationship

          - a conditional formatting

          - a new table

          - a autoenter

          - a field validation

          - a privilege

          - a sort

          - a layout

          - a trigger

          - a value list

          - a custom function

          - maybe a plugin

          ...

           

          and any combo of the above.

          1 of 1 people found this helpful
          • 2. Re: Script
            keywords

            With that very limited description this sounds more like you need a calculation field, not a script, such as:

            Get ( CurrentDate ) - <yourDateField>

            This would give you the number of days that have elapsed since the date in your field up to the present. That could be used for a "how long since we started this job?" or similar question.

            If that's way off the beam, please explain yourself in more detail.

            1 of 1 people found this helpful