title: xslt timezone conversion with daylight saving
body: <p>I am working with xslt and using the fn:current-dateTime( ) to get the current date time (<a href="https://www.w3.org/TR/xpath-functions/#func-current-dateTime" rel="nofollow noreferrer">https://www.w3.org/TR/xpath-functions/#func-current-dateTime</a>). The time returned is in UTC. I need to convert this to PST. I see that the fn:adjust-dateTime-to-timezone (<a href="http://www.xqueryfunctions.com/xq/fn_adjust-datetime-to-timezone.html" rel="nofollow noreferrer">http://www.xqueryfunctions.com/xq/fn_adjust-datetime-to-timezone.html</a>) can be used to perform the timezone conversion. But i see that this function accepts the timeZone argument in the form of offset, i.e -PT8H for Pacific timezone while it is -PT5H for US Eastern Standard Time. When timezone is passed in terms of offset, its subject to modifications when Daylight Savings Time (DST) starts and ends right? Is there a better way for performing timezone conversion in xslt, a method that requires no modification periodically? or is there a recommendation when using fn:adjust-dateTime-to-timezone to handle this better?</p>