 <p>Have a look at DateDiff function: <a href="http://www.w3schools.com/vbscript/func_datediff.asp" rel="nofollow">http://www.w3schools.com/vbscript/func_datediff.asp</a>. Example:</p> <pre><code>diff = DateDiff("d", "02/19/2015", "02/20/2015") ' difference in days diff = DateDiff("h", "02/19/2015", "02/20/2015") ' difference in hours diff = DateDiff("n", "02/19/2015", "02/20/2015") ' difference in mins diff = DateDiff("s", "02/19/2015", "02/20/2015") ' difference in seconds </code></pre> <p>To calculate the difference, you would need to parse out the date from the string and use DateDiff. </p> <p>The order of dates determines the output. In the example above, all values will be positive. If you revert them, output would result in negative. Providing the same date/time will result in 0.</p> <pre><code>diff = DateDiff("d", "02/20/2015", "02/19/2015") ' output = -1 diff = DateDiff("d", "02/20/2015", "02/20/2015") ' output = 0 </code></pre>