Hi all

I want to print the current date and time on a HTML page using XQuery's format-dateTime function. The problem is that I always get the GMT time which currently is 2 hours behind of Central Europe Time. 
This is what my code looks like:

<p>Stand vom {format-dateTime(current-dateTime(), '[D01].[M01].[Y0001] [H01]:[m01]:[s01]', 'de')} Uhr</p>


And this is what I get when local time is 15:21:34:

Stand vom 27.04.2016 13:21:34 Uhr

Is it possible to get the local time using format-dateTime?


Thanks for any help!

Mike