Timezones and Daylight Savings

Hi,
Does anyone know how to manage Daylight Savings on BI publisher?
In the winter my system (MS-SQL based) records dates like "2008-02-24T00:00:00.000+00:00" i.e. GMT; in the summer to account for daylight savings, it records the date like "2008-04-04T00:00:00.000+01:00" - note the +01.00 at the end for British Summer time / Daylight Savings. (both instances the system is recording a date, rather than a date and a time).
My issue is that the first will always come back with 24th Feb 2008, whereas the second will come back with 3rd April 2008 on the template and there does not appear to be a switch or code to account for Daylight Savings either in the Administration part of BI nor the xdo/ format masks.
I'd rather have a solution for the whole of BI, rather than an Xdo solution so I can implement across the whole patch, but I am open to suggestions.
Thank you
Richard

Andy,
Thank you - works great. The issue was an odd one as it only manifest during the in the late summer of last year, but they all went away in the winter and have only recently started popping up again, in fact just after the clocks went forward....
It's a great solution, but I was hoping not to go through all my templates - ah well - another long night. Unless someone can save me.
Regards
Richard

Similar Messages

  • CUE timezone and daylight savings time

    Hi,
    Having issue where CUEs don't seem to be adjusting for daylight savings time. Timezone is set correct to EST but is a hour off because its daylight savings time now. The router and CUE are configured to use same NTP server and router has summertime setting and adjusts for DST fine and has correct time but CUE is a hour behind, like it is not doing DST.
    Were on version 2.2(2) of CUE software.
    This is also in indiana where the laws changed recently so maybe that has something to do with this.
    Any ideas?

    Very likely due to the change in Indiana. A workaround would be to change the timezone to an EST zone that observes DST such as America/Louisville (Eastern Time - Kentucky - Louisville Area).
    Hope this helps.
    Brandon

  • Oracle TimeZones and Daylight savings time

    Hi,
    I am working on converting a bunch of old data to a new system. I ran a couple of validation reports for the end user to verify, it seems the times were off. I am in the EST but it seems the times in the db were stored as UTC.
    So when you convert the time from UTC to EST you need to subtract 5 hours but when it is DST you only subtract 4.
    I need to know how to figure out if a time was entered in DST or EST and then I can use something like a decode to decide how much to subtract.
    DST Rules:
    Stone Age -- 2006 First Sunday in April ,Last Sunday in October
    2007 -- present DST Begins 2 a.m. (Second Sunday in March)      DST Ends 2 a.m. (First Sunday in November)
    Here is part of my select statment:
    to_date(to_char(asgn.start_date-5/24,'DD-MON-YYYY')) effective_from,
    I looked at Ask Tom and other sites but could not find a good working example that didn't have a hard coded date. Maybe it is not possible in a select statement.
    Thanks so much for any help you can provide !!!! :)

    >
    I need to know how to figure out if a time was entered in DST or EST
    This seemed to do it:
    >
    I don't see how it possibly can. A DATE datatype does not contain timezone. See the definition of what it contains in the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/sql_elements001.htm#i54330
    >
    12
    DATE
    Valid date range from January 1, 4712 BC, to December 31, 9999 AD. The default format is determined explicitly by the NLS_DATE_FORMAT parameter or implicitly by the NLS_TERRITORY parameter. The size is fixed at 7 bytes. This datatype contains the datetime fields YEAR, MONTH, DAY, HOUR, MINUTE, and SECOND. It does not have fractional seconds or a time zone.
    >
    So that DATE value has NO way of knowing what the timezone of the process that entered it was.
    And depending on the meaning of that DATE column you don't even know for sure if the date value represents a date in that process's timezone. I can enter a date representing '01-Jan-2007' but that date doesn't necessarily mean it belongs to my timezone.

  • Calendar All Day Events, Calculated Columns, Timezone and DayLight Savings - Issues

    Hi
    I have a calendar where I am trying to display in one column using a calculated field (TitleWithTimes):
    Start time (only display time) - End Time (only display time) : Title i.e. 00:00 - 23:59 : Test Event
    So I add an all day event to the calendar for this month (February), it appears correctly:
    i.e. 00:00 - 23:59 : Test Event 1
    I am based in the UK so my time zone is currently GMT/UTC.
    However if I add any all day events to the calendar in April when the time zone switches to GMT+1, the start and end times appear incorrect.
    i.e 01:00 - 00:59 : Test Event 2
    Field: TitleWithTimes
    =TEXT([Start Time],"hh:mm")&" - "&TEXT([End Time],"hh:mm")&" : "&Title
    This issue only occurs with ALL Day Events when the events are scheduled for a in the period of the year where the Time Zone becomes GMT + 1. My regional settings everywhere in SharePoint are correct as are all the SharePoint servers.
    I have done lots of searching and troubleshooting to try and resolve this issue but it appears nobody has found a reliable fix for this issue with calculated fields, all day events and time zones? Does anyone have any ideas of workarounds?
    Thanks

    Hi,
    I understand that you had issues about the calculated field in calendar.
    This is a reproducible issue, when creating an all day event, the calculate column based on the Start Time/End Time is different from the original column value. The date is stored in SQL in GMT time and is displayed in SP in the correct time in lists. So
    returning the start time in a calculated column for an all day event returns the start time in GMT time, which is not the current time most likely.
    As a workaround, you can regenerate the calculate column to add one day/minus one day based on whether the event is an all day event, or create a workflow to copy the start time column to your created date/time column.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/27ab0bb0-245b-46ca-9f87-c0eb043653ef/date-formatting-in-calendars-returns-wrong-day?forum=sharepointgeneral
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Java.util.Date and Daylight Savings

    Maybe I'm worrying too much on this, but I'm conscerned about how well java handles the platform changing over for Daylight Savings... I understand that it reflects UTC, but will this ignore the OS handling of daylight savings? More specifically, when running on Windows (specifcally server 2000), will I lose or gain an hour over daylight savings because of how it translates the time from the OS, or is it safe to assume that it will give me an accurate UTC measurement (less than a minute does not really matter in this case)?

    Date always hold the number of milliseconds since the epoch (1/1/1970 UTC). It has no concept of TimeZone or Daylight Saving or Leap Years/Seconds.
    Calendar and SimpleDateFormat know all about TimeZone and Daylight Saving and Leap Years/Seconds. SimpleDateFormat takes them into account when formatting and parsing. GregorianCalendar takes them into account when you extract field values.
    Date always reflects the true time and is not concerned with how Windows treats the date/time. It does not loose or gain an hour when Daylight Saving kicks in or out but Calendar and SimpleDateFormat handle the change in displayed values.

  • TimeZone, DateFormat & Daylight Savings time - help please

    Our system holds dates on the database as GMT. I need to display these dates in local times, taking into account time zone differences and daylight savings time. An example:
    DateFormat format = new SimpleDateFormat("HH:mm");
    format.setTimeZone(TimeZone.getTimeZone("Europe/London"));
    GregorianCalendar calendar = new GregorianCalendar(2003,6,31,13,20,25);
    System.out.println(format.format(calendar.getTime()));
    format.setTimeZone(TimeZone.getTimeZone("Europe/Istanbul"));
    System.out.println(format.format(calendar.getTime()));
    This code produces the following output
    13:20
    15:20
    What hasn't been taken into account is that both time zones are in daylight savings time so both dates should be one hour on. TimeZone has all the methods to establish and adjust the date so I'm surprised that the formatter doesn't use these. If I use them manually to adjust the date then everything works OK but I didn't think I'd have to do that. Anyone help me in getting the right results? Is this a bug or do I need to do something different? I'm using JDK 1.4.1
    Many thanks
    Ian

    I still can't get this working how I want. The date that I will be trying to parse will be a GMT date, not a BST date.
    SimpleDateFormat format = new SimpleDateFormat("yyyy-MMM-dd HH:mm:ss");
    TimeZone timeZone = TimeZone.getTimeZone("Europe/London");
    Date date = null;
    try {
    date = format.parse("2003-Jul-31 13:20:25");
    } catch (ParseException ex) {
    System.out.println(format.format(date));
    format.setTimeZone(TimeZone.getTimeZone("Europe/Istanbul"));
    System.out.println(format.format(date));
    format.setTimeZone(TimeZone.getTimeZone("Africa/Freetown"));
    System.out.println(format.format(date));
    This is the output
    2003-Jul-31 13:20:25
    2003-Jul-31 15:20:25
    2003-Jul-31 12:20:25
    My desired output is
    2003-Jul-31 14:20:25 GMT +1 hour DST
    2003-Jul-31 16:20:25 GMT +1 hour DST +2 hours time zone difference
    2003-Jul-31 13:20:25 GMT
    Any ideas?
    Cheers
    Ian

  • Tungsten E2 Reset Loop After Applying Security Panel Update and Daylight Savings Updates

    I applied the Security Panel and Daylight Savings updates to my Tungsten E2 handheld.  The hotsync operation required me to press reset. Now my handheld loops on the Palm Powered screen.  Subsequent attempts to reset have the same result or ask me to delete all data.
    Does anyone have a solution for this?
    Bob Ludwig
    Post relates to: Tungsten E2

    If you have the data current in Palm desktop, do the hard reset. Do another sync to see if the E2 starts looping.
    If it does, you will need to rename the backup folder in the username folder and then sync again.
    Here is a link to an article regarding the location of the username folder on the PC http://kb.palm.com/wps/portal/kb/common/article/37​326_en.html
    Try installing one update at a time to see if one of the updates are causing the issue.
    For reference purposes, click on the following link for the support page for your device on the kb.palm.com webpage.
    http://kb.palm.com/wps/portal/kb/na/tungsten/e2/un​locked/home/page_en.html
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.

  • Site synchronization and daylight savings/standard time

    The familiar problem of Dreamweaver not accounting for the
    change from Daylight Savings to Standard time persists with CS3.
    This only shows up on Windows machines. Windows (tested with both
    XP and Vista) maintains all file times in UTC, and changes the
    locally displayed time based on the time zone. The remote servers
    are all Linux boxes running Apache. DW connection is through SFTP.
    Dreamweaver appears unable to figure out the local time stamp
    offset imposed by Windows. After changing from Daylight Savings to
    Standard time, Check In operations produce a message that all
    remote files are dated an hour later than the local files. This is
    the opposite behavior one sees in the Spring, when the change from
    Standard to DST has Dreamweaver believing all remote files are an
    hour out of date.
    In the past I have manually changed the file modification
    times on all files for every site. Given that this comes to several
    hundred thousand individual files, it is a pain. Searching yet
    again for a method to convince Dreamweaver to correctly interpret
    the file timestamps produced little more than Google's listing
    thousands of search hits for other folks mentioning the same
    problem.
    It made no difference which timezone the server was in (or
    set to) relative to the PC running Dreamweaver. The timezones could
    be identical or different -- DW always complained the remote files
    were an hour later than the local ones. I changed timezones on both
    the server and the local machine. No help. Neither was rebuilding
    the site cache nor manually deleting the WinFileCache*.dat file. I
    also tried manually editing a dwsync.xml file in a _notes folder to
    see if I could alter DW's view of the world. Again, no such luck.
    Making matters far worse, however, Dreamweaver complains
    about file time differences in newly modified files as well. A
    standard Synchronize command produces "Resolve" errors for every
    newly modified file that is not first checked out from the remote
    site using DW, saying both local and remote versions have changed
    since the last sync. Running "Check In" on a newly modified file
    that was not explicitly checked out (e.g. an image or other binary
    file) does nothing, as DW sees a timestamp discrepancy. These files
    must first be Put to the site, with the corresponding DW error
    dialog, and then be checked in.
    I am suspecting the problem stems from Dreamweaver's lack of
    support for the
    MDTM
    command. Many other products, ranging from commercial packages
    such as WS_FTP and Microsoft's Expression Web, to $30 shareware
    programs such as Beyond Compare, to freeware programs including
    WinSCP all correctly interpret Windows timestamps as well as
    preserving the correct time upon file uploads. Is there any
    solution other than changing the timestamps by an hour on every
    file or getting every file from all sites to satisfy Dreamweaver's
    belief that the files are all an hour newer than they actually are?
    The former is a non-trivial task given the sheer number of files to
    change; the latter is a bandwidth PITA for ~90GB of data.
    Message to Adobe: Please fix this problem. It hits users
    connecting Windows local machines to Linux servers twice a year.
    Your competitors as well as shareware authors have sorted this
    matter out.

    Ethan H wrote:
    > The familiar problem of Dreamweaver not accounting for
    the change from Daylight
    > Savings to Standard time persists with CS3.
    Yes, it's a bug, and it's a PITA.
    > Message to Adobe: Please fix this problem.
    Message to Ethan H: This is a user-to-user forum. To get the
    message to
    the right people in Adobe, submit a bug report:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Yes, I'm sure that Adobe knows about the problem without you
    going to
    the effort to submit a report, but the bug report/feature
    request form
    is how the development team assesses its priorities.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • SimpleDateFormat and Daylight Savings Time

    I am trying to parse into a Date "April 15 1999" with "MMM d YYYY" using SimpleDateFormat. This string parses w/out error and the resulting Date is: Thu Apr 15 00:00:00 PST 1999. This is correct in that I am in California. The problem is that 4/15 is Daylight Savings Time in 1999. The getTimeZone result for the parent DateFormat is "SystemV/PST8PDT". I have wrestled with this for over a day now, I admit it, I need help.
    Anyone have any ideas what could be happening here?
    Thanks
    Roger

    When I run BigDaddy's code I get MST for the TZ (which is correct, my default is Mountain TZ and we don't observe DST. By this I surmise that BDLH's default is Pacific TZ and that it observes DST. The following code shows the setting of the TZ to "America/Los_Angeles" and produces the correct result. Windows XP.
    import java.text.*;
    import java.util.*;
    public class PTest {
        public static void main(String[] args) throws ParseException {
            SimpleDateFormat sdf = new SimpleDateFormat("MMM dd yyyy");
            Date dte = sdf.parse("April 15 1999");
            System.out.println(dte);
            SimpleDateFormat sdf2 = new SimpleDateFormat("MMM dd yyyy zzzz");
            sdf2.setTimeZone(TimeZone.getTimeZone("America/Los_Angeles"));
            System.out.println(sdf2.format(dte));
    }

  • WebLogic and Daylight Savings Error

    We are running a Weblogic 7 SP1 cluster on Windows 2000 Server and
    when daylight savings arrived, our server dates advanced one day, to
    be one day ahead, but the time stayed correct. Has anyone seen this
    bizarre event? Haven't found anything in any newsgroup.
    Thanks.

    When I run BigDaddy's code I get MST for the TZ (which is correct, my default is Mountain TZ and we don't observe DST. By this I surmise that BDLH's default is Pacific TZ and that it observes DST. The following code shows the setting of the TZ to "America/Los_Angeles" and produces the correct result. Windows XP.
    import java.text.*;
    import java.util.*;
    public class PTest {
        public static void main(String[] args) throws ParseException {
            SimpleDateFormat sdf = new SimpleDateFormat("MMM dd yyyy");
            Date dte = sdf.parse("April 15 1999");
            System.out.println(dte);
            SimpleDateFormat sdf2 = new SimpleDateFormat("MMM dd yyyy zzzz");
            sdf2.setTimeZone(TimeZone.getTimeZone("America/Los_Angeles"));
            System.out.println(sdf2.format(dte));
    }

  • All-day calendar entries and daylight savings time

    Since changing to daylight savings time, whenever I change the date on an all-day calendar entry, my iPad (but not my iPhone) changes the one-day calendar entry to a two-da calendar entry. How do I correct this?

    Dates are represented internally with a long that represents the number of milliseconds past some fixed point. Timezones do not affect this.
    I'm assuming you're getting your dates as java.sql.Date
    You should then build a Calendar (see GregorianCalendar) and call setTimeZone() with your timezone without daylight savings

  • Has anyone had problems in v5.0a of Iplanet calendar installed on a Sun box with creating events and daylight savings time?

    Events created around 4/6/2002 at 8pm get created with the wrong time (9pm) and there are several other creation and display problems tied to Daylight Savings in April and October. Version 5.1 of the software seems to fix that but we are looking for a fix until we can upgrade. We have been using Windows systems to access the calendar.
    Thanks.

    We have not seen exactly this, but many users appointments are lining up in the wrong time slots. Also, when scheduling, the time display is off by an hour. We have found what looks like a temporary fix.
    We noticed that the problem only affects users who have the start of the week set to Sunday (when daylight savings time started). Setting the week to start on Monday fixed our display problems (you can do it in the users, options section).
    I am placing a support call w/SUN.

  • E-Load/e-ME and Daylight Savings Time Change

    If you are using e-TEST suite versions 8.10 or older, please see the following knowledge base article on updating your JRE for e-Load and e-Manager Enterprise.
    http://qazone.empirix.com/entry.jspa?externalID=201&categoryID=15
    (you must be logged into QAZone to view this link)
    It is recommended that e-Load and e-Manager Enterprise customers update the JRE on their e-Load and e-ME server machines using the SUN JRE patch referenced in the article.
    e-TEST suite version 8.20 which is releasing this week does not require any update.
    Message was edited by: jfernandes

    My problem is that now CFMX 6.1 thinks that it is 8 hours
    later in the day
    than it really is (it is stuck on GMT now) and I am unable to
    get CFMX to
    acknowledge the operating systems clock. :-(
    "GregK" <[email protected]> wrote in message
    news:eord35$5mq$[email protected]..
    The technote for this issue:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=d2ab4470
    has
    another
    link to a technote which addresses null pointer exceptions
    after upgrading
    the
    JVM on CFMX 6.1 systems:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb400232
    The hotfix
    described in that technote gives a fix for CFLDAP and
    CFSERVLET tags after
    the
    new JVM is installed.
    The important thing to note is that Adobe feels that
    daylight savings time
    will indeed present a problem for ColdFusion applications.
    Unfortunately,
    the
    problems are not explained in any detail. I can guess that
    functions like
    DateDiff( ) may calculate incorrect values when spanning the
    changed weeks
    of
    daylight savings time. As others have suggested; however,
    simply retrieving
    the system time, i.e. Now( ) function may not be affected as
    long as the
    operating system clock is set correctly.
    Hope that helps.

  • Access policy issues and daylight savings

    I have the WRVS4400N. I have purchased a few Linksys routers in the past and have been happy with their operation. The wireless access however, was mediocre until I purchased this model. This model has great a great wireless connection. I like the fact that I can make many changes to the settings on the router without having to reboot the router. The performance of this router in combination with the cable modem has been excellent. It far outperforms the equipment that it replaced. I will normally pick a linksys product over another brand.
    I am having 2 intermittent issues that are really causing me grief and an additional couple of annoying issues. I need help in fixing these issues. I have confirmed that I have the latest firmware version.
    1) Some computers do not have connection to the internet. As if the security policy is confused about the time or connection. I really think this is a security policy issue, but I will let you decide.
    2) There are some computers that I allow a 24/7 connection to the internet. For the rest I don’t want them to have access between the hours of 12a-6a. I have found that the connection doesn’t always shut-off. I have kids and do not want them to have access during those hours. I never had problems with my previous linksys router.
    3) I am unable to set an access policy that spans the 5 min between 11:55p and 12a. In my previous linksys router I could.
    4) The new daylight savings schedule is not part of my current firmware. This really threw off my security policies.
    I have found that if I reboot or if I simply goto the security policy screen and click on save settings it seems to correct itself. But, I shouldn’t have to babysit it to make sure that it’s working correctly. When I am out of town I need to know that my security policies will continue to work while I am away.
    Here’s my set up:
    1) I have a linksys cable modem that connects me to the internet through my cable provider.
    2) I have the linksys wireless (WRVS4400N) router that connects to the cable modem.
    3) I have a 3Com Superstack II switch as the backbone of my network which connects to the router.
    4) I have several devices connected to this router: computers, xbox, vonage phone line.

    This is EXACTLY what my router is doing...
    2) Access restrictions do not work, PERIOD...."ALLOW" will disable internet access for the entire subnet (regardless of the rule), and "DENY" will prevent uploading of file attachments to hotmail, myspace, facebook etc....for every computer on the subnet.
    Message Edited by DSMKilla on 10-26-2008 11:08 AM
    (Edited post for guideline compliance. Thanks!) 
    Message Edited by JOHNDOE_06 on 10-26-2008 11:39 AM

  • JDev log times and Daylight Savings

    Nothing major.
    I've noticed that the log messages appearing in JDev are not respecting my daylight saving time. Log times are appearing as 1 hour earlier than my computers time.
    My platform is WinXP with Western Australian Daylight Savings patch applied.
    e.g. at 14:14:56
    3/02/2007 13:14:56 oracle.jsp.logger.JspMessages infoProviderURIUsed
    INFO: Using the ProviderURI /mdssys/ViewController/public_html/MyContent.jspx that is returned from custom provider for processing requests.
    3/02/2007 13:15:23 oracle.jsp.logger.JspMessages infoProviderURIUsed
    INFO: Using the ProviderURI /mdssys/ViewController/public_html/MyContent.jspx that is returned from custom provider for processing requests.

    As a matter of interest, do you get the same when if using JDK 1.5.0_07
    If you've Metalink access, see Note 397281.1
    Also, see: JDeveloper 10.1.3.1 Daylight Savings Time patch
    PS
    If you haven't already, you can also post discussions to the JDeveloper forum:
    JDeveloper and ADF

Maybe you are looking for