Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / The type conversion fr...
Finance forum
Under review by Community Managers

Under review

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

The type conversion from 'int64' to 'int' loses range

Posted on by
Hi,
 
May I know why this statement produce warning : /The type conversion from 'int64' to 'int' loses range/
 
return time2StrHMS(DateTimeUtil::getDifference(this.DateTimeAnswered, this.DateTimeExecuted));
 
What I know now is time2StrHMS() method is need parameter with int type. Does it mean DateTimeUtil returns int64 ? Then should I convert it again ?
 
thanks

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,044 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans