title: To deal with Date Difference
body: <p>I want to find out the difference between two Dates (in terms of  minutes) appearing in two different elements as data in my XML file using XSLT. I can't use functions for this, as I am using visual studio 2008, in version 1.0 XSLT functions are not supported ..</p>
  
  <p>Ex- 11/12/2009 12:00 AM 12/01/2010 12:00 PM And also I have to see that date2>date1 all the time. Thanx in advance.</p>
  
  <p>although I have been successful doing similar (but comparitively smaller) calculations to some extent .. (treating them as string of characters) using templates.. I could finally conclude that .. "Templates" cannot replace "functions" but the problem with my application is it can be easily interfaced with Visual studio than any other application, (well, this interface has got to do many other functions than triggering XSL transformation) so there is no question of using some other application than visual studio.</p>
  
  <p>there is a website named exslt.com, I had downloaded a readymade template from there .. but couldn't make it work in my way .. so I posted this Q, not expecting some one to post complete solution but any other alternative ways if found .. like usage of some other languages (C#, javascript and etc) along with XSLT (but not beyond XSLT 1.0).. Thanks in advance .. :)</p>