In one of application which I use, I have a database on MS SQL Server 2012. In this database date of type integer (which is normal in database based on MS SQL Server 2012).
Now I try to write xslt which transform xml from this system on account system and I have problem to convert this integer value. For example: in the database i have value 79192 which is the same like date 23-10-2017. I know that in this conversion I should use value 36163 and subtract it form value 79192.
I know how to do this In MS SQL like this CONVERT(VARCHAR(10), cast(79192 - 36163 as datetime), 120).
Please tell me how to do this convert in xslt 1.0? Can I do this with some function or I have to write template which convert this value?