locked
Script to calculate the duration RRS feed

  • Question

  • Hi everyone,

    Currently I’m using CRM 3.0; I created a new form that has three custom attributes, the first two of type DateTime

    New_startdate

    New_closedate

    And the third one of type nvarchar

    New_duration

    What I’m trying to do is to calculate the duration between the start and the close date then put the result in the New_duration field using OnSave event of the form;

    Does anyone know how to write such a script?

    Thank you.

    Wednesday, March 9, 2011 8:17 AM

Answers

All replies