In today's article, I'll post a very interesting function. It calculates the number of minutes between two points in time. Did I hear you say "Lame, I can use DATEDIFF function for that!!!"? Well, what my little function does, other than calculating minutes between two points in time, is that it works for a given "time window" and DATEDIFF in it's default form is not enough for that.