cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CPKH
Helper I
Helper I

Datediff Minutes Format hh:mm

Hey all!

I want to have the right value of Minutes of hh:mm format.

DateDiff(Arrival,Exit, Minutes) refer to a galleryItem which exists at a sharepointlist (time and date format).

Now i want 08.15-11.31 = 196 Minutes in the format "hh:mm". How i get it?

Text(DateDiff(Arrival,Exit, Minutes),"hh:mm") gives me 01:00 back....

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User III
Super User III

Hi @CPKH 

Something like this should take you close to what you need.

 

 

RoundDown(DateDiff(Arrival,Exit, Minutes)/60,0) & 
":" &
Text(Mod(DateDiff(Arrival,Exit, Minutes),60), "00")

Hope that's of some help.

 

View solution in original post

2 REPLIES 2
timl
Super User III
Super User III

Hi @CPKH 

Something like this should take you close to what you need.

 

 

RoundDown(DateDiff(Arrival,Exit, Minutes)/60,0) & 
":" &
Text(Mod(DateDiff(Arrival,Exit, Minutes),60), "00")

Hope that's of some help.

 

View solution in original post

Thanks! It works fine 🙂

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (48,547)