Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
| Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2006, 06:14 AM
Authorized User
 
Join Date: Jul 2006
Location: Valencia, Valencia, Spain.
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to find the local timezone

 Hello all,
           Is there any way to obtain the current difference in hours between a local time and GMT time?(ie asking the computer's system clock).

This difference is not always the same because of the daylight savings time.

In spanish case:
Standard Time = GMT+1
Summer Time = GMT+2

Ive been looking at XPATH 2.0 functions and Ive found the following

one:

fn:add-timezone-to-date( date $srcval) => date

I try it but it didnt work, the error message said:
Unknown system function.

I really appreciate your help.

Tomi







Similar Threads
Thread Thread Starter Forum Replies Last Post
function adjust-dateTime-to-timezone Tomi XSLT 3 July 26th, 2006 11:51 AM
timezone conversion swati_joshi ASP.NET 1.0 and 1.1 Professional 0 June 2nd, 2006 05:21 AM
Problem using TimeZone LocalTimeStamp vinod_pawar1 Oracle ASP 0 December 22nd, 2005 12:35 PM
TimeZone Issue everest ASP.NET 1.0 and 1.1 Professional 1 November 3rd, 2005 01:54 AM
India TimeZone not listed deepak.vasudevan Forum and Wrox.com Feedback 0 September 2nd, 2005 02:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.