web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans