XSLT 2.0 defines various methods, such as current-date() and implicit-timezone() that could certainly do what you are asking.
In XSLT 1.0 you can't get that information directly, so would either have to pass it in as a parameter, or use an extension function to call out to an external source (e..g java, .net etc).
|