Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Total Time Case Was Open

(0) ShareShare
ReportReport
Posted on by

I was wondering if there is already a way to easily find how long a case was open?
If there isn't an easy way is there a way to convert a date/time field to milliseconds and store it in numerical field?

*This post is locked for comments

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Total Time Case Was Open

    Hi ,

    if a case is reopened, do you want to keep on calculate the time , if yes.

    You might need to create a custom Entity to store all the date and time in different record.

    Refer to below video, the concept is already there, you only have to changed the checking condition ,workflow entity, and the lookup field in custom entity.

  • Suggested answer
    Goutham A Profile Picture
    Goutham A on at
    RE: Total Time Case Was Open

    There is no easy one step way .I  have done these kind of requirement in following way


    On case status change to open , trigger a workflow which sets a custom field to current date time value.

    You can display a calculated field on form.You can use DateDiff in minutes or seconds when creating this calculated field
    or
    You can write a custom javascript to display the date range in form(register javascript on page load)

  • Verified answer
    gdas Profile Picture
    gdas 50,089 on at
    RE: Total Time Case Was Open

    Hello ,

    Here is one simple solution using Javascript , calculate the time and put it another field .

    community.dynamics.com/.../65050

  • Verified answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Total Time Case Was Open

    hi There,

    There is no straight forward way.

    However you can get something from below threads:

    https://community.dynamics.com/crm/f/117/t/217663 

    community.dynamics.com/.../calculate-the-time-an-incident-took-to-resolve-in-microsoft-dynamics-crm-2011-using-net-or-jscript

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans