Working out rates using timespan in c#
<p>I want to know how to calculate different pay rates between certain hours.</p>

<p>For example: If someone works from 9am - 5pm they will recieve 1x rate.
if that same person works from 9am - 7pm they will get 1x rate from 9am-5pm and then 1.5x rate from 5pm - 7pm.</p>

<p>However, I am currently using a DateTime.Now for when they start work and a DateTime.Now when they finish the using a time span to calculate the hours in between.</p>

<p>I haven't tried anything because I dunno how to do it.</p>
