Working Hours

Technical Article

Calculating Working Hours

  • Script

Calculating working hours can be painful due to all the variances that they imply. This function will calculate working hours between 2 dates which might include time. There's an option to use a holidays table that will vary in each environment.

4.67 (3)

You rated this post out of 5. Change rating

2015-10-22 (first published: )

3,696 reads

Blogs

What to Know about Power BI Theme Colors

By

Power BI reports have a theme that specifies the default colors, fonts, and visual...

A Global Team Meeting

By

The last few years at Redgate we’ve had the entire (or most) of the...

A New Word: sayfish

By

sayfish – n. a sincere emotion that seems to wither into mush as soon...

Read the latest Blogs

Forums

Login failed for user sa sql server 2022 - windows server 2022

By aman

i got the login failed error for user sa, but not always so I...

Login failed for user sa sql server 2022 - windows server 2022

By aman

i got the login failed error for user sa, but not always so I...

What Do You Want to Learn?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item What Do You Want to...

Visit the forum

Question of the Day

Disable Memory Grant Feedback Persistence

In SQL Server 2022, how can I disable memory grant feedback persistence?

See possible answers