Jump to content

Formula to calculate minutes/hours between two times


johnsmith153

Recommended Posts

I need a formula to calculate minutes / hours between two times:

 

E.g. 18:00 - 23:30 would return 5 and a half hours or 330 minutes (either is fine, I just then need to multiply by an hourly wage to calculate an employees pay based on their working shift).

 

I have created someting but it is so long winded (30 or so lines!)

 

Is there any way to do this in a few lines or so?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.