Timestamp - wrong results during clock change

When I run for example:
SELECT TO_TIMESTAMP('28.03.2010 02:00:00','DD.MM.YYYY HH24:MI:SS') FROM dual
on worksheet, I receive two different results:
Script Output:
28.03.2010 02:00:00
Query Result:
28.03.2010 03:00:00
What is the reason for the wrong result in "Query Result"?
Rainer

Things that might influence, but could be different for you:
- WinXP SP3 Catalonia/Spain locale (adjusts to summer-time)
- AddVMOption -Duser.language=en
- AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
- sqldev NLS Language/Territory: American/America
Hope that helps,
K.

Similar Messages

  • Property binding for size produces wrong results on size change

    Hi,
    I've a small class extending from BorderPane. This class contains a simple Rectangle whichs size is bound to the size of the BorderPane minus 20:
    package com.example;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    public class InnerBorder extends BorderPane {
        private Rectangle r = null;
        public InnerBorder() {
            this.r = new Rectangle();
            r.widthProperty().bind(this.widthProperty().subtract(20));       
            r.heightProperty().bind(this.heightProperty().subtract(20));
            r.setStrokeWidth(0.5f);
            r.setFill(null);
            r.setStroke(Color.BLACK);
            this.setCenter(r);
    }Used in a small application:
    package com.example;
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    public class Example extends Application {
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(Stage primaryStage) {
            primaryStage.setTitle("Hello World!");               
            BorderPane root = new BorderPane();       
            root.setCenter(new InnerBorder());
            primaryStage.setScene(new Scene(root, 300, 250));
            primaryStage.show();
    }When I change the size of the window, the size of the rectangle changes also. But the result looks a little bit strange. When a change the size too fast, the size of the rectangle will not be changed correctly. The rectangle will became larger than the window and is then, of course, not longer visible. Changing then the window a little bit slower will again result in a correct rectangle. Until the next too fast window size changing.
    Is there anything wrong on my code?
    When I use the same implementation (property binding) in a Control with a Skin, the result is even more strange. If the subtract is too small (< ~40), the size grows endless. Of course the window size doesnt grows, but the property value grows on every size change, even if the window will be smaller. This code is a little bit more, so I will post it if no one could show me an error in my sourcecode above.
    Kind regards

    Hi. I did some modifications. Now it looks OK.
    import javafx.scene.layout.BorderPane;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    public class InnerBorder extends BorderPane {
       // private Rectangle r = null;
        public Rectangle r = null;
        public InnerBorder() {
            this.r = new Rectangle();
           // r.widthProperty().bind(this.widthProperty().subtract(20));       
           // r.heightProperty().bind(this.heightProperty().subtract(20));
            r.setStrokeWidth(0.5f);
            r.setFill(null);
            r.setStroke(Color.BLACK);
            this.setCenter(r);
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    public class Example extends Application {
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(Stage primaryStage) {
            primaryStage.setTitle("Hello World!");               
            BorderPane root = new BorderPane(); 
            InnerBorder inb = new InnerBorder();
            inb.r.widthProperty().bind(root.widthProperty().subtract(20)); 
            inb.r.heightProperty().bind(root.heightProperty().subtract(20));
            root.setCenter(inb);
            primaryStage.setScene(new Scene(root, 300, 250));
            primaryStage.show();
    }

  • Clock Change

    Hi,
    When the clock change happens, does SAP automatically adapt to these changes and appropriately schedule the jobs accordingly.
    I was thinking whether we need to inform basis and check whether the jobs would be affected or not.
    Any background scheduled jobs during clock changes, believe will be automatically handled.
    Please confirm whether my assumption is right.
    Regards
    Anandh

    Quote
    Originally posted by bobinc
    Is there a way to change the clock display from Army Time to a normal 12 hour format?
    What OS are you using? If you're using XP, click Start, go to control panel and open up "Regional and Language Options."  Now, click on the "customize button" next to the language that is displayed. Next, click on the time tab; on the drop down menu choose h:mm:ss:tt.  Don't worry about the hh:mm:ss:tt choice. click on "OK," and then "OK" on the last dialog box.
    For those who don't quite get "International" or "Military" time, all you need to do is subrtract 12 from the hour number when it is greater than 12:00.  For example, 17:45 is 17-12=5--therefore 17:45 is 5:45PM.  Or, you can ignore the 1 in the tens place and just subtract 2-- 7-2=5, ergo 5:45

  • Clock changes time randomly

    Has any one had any issues with their clock changing time randomly on their iphone 5c? it will go up in time then back several times during the day. I am the only one in the house that this is happening to

    If "Automatic Time" is turned on in Settings, the time is coming from the cell towers.  Contact the carrier to address.

  • Employee group have been wrongly assigned during Hiring in PA40

    Dear Guru,
    I have one scenario where an employee; employee group have been wrongly assigned during Hiring PA40. The user has entered and assigned the employee group as Contract - Local instead of Contract - Foreigner in the Employee group field.
    Please advice how to change and rectify this incident.
    Thanks & Regards,
    Wai Cheng - Yokota

    Dear Guru,
    Many thanks for all your advice.
    I have use PA41 Transaction code to make the correction. However, I noted that the wrongly assigned Employee group remains unchanged in PA30 HR Master data.
    Hence, I decided to use PA40 Hiring Action to make the correction by selecting Position/Band Change field. After save the correction in Copy Actions screen, it will lead you to Copy Organizational Assignment and save your entries. There will be a message appear at the bottom in regards to the position. Just click next arrow icon and click yes.
    Go to PA30 HR Master data again, to verify that the correction and noted that it has change.
    Regards,
    Wai Cheng - Yokota

  • Pathfinder produces very wrong results. Long time Illy user. **URGENT**

    Running Mac 10.10.1 (newest Yosemite)
    Adobe CC
    PROBLEM #1
    Recently when performing a simple "minus front" with two objects, I get very wrong results. See image below. I created icons that are knocking out the BG behind it. Had no problems with the others until I got to the fork. I created the fork using rectangles, and the new direct select to create round corners feature. I can work around this problem by creating an opacity mask on the BG and pasting in the icon at full black. However, when I import that into inDesign, the fork still shows as it's original color. Ok fine. I can export from AI as a .png and avoid it. But that's a pain, and CC has already been pushing my buttons this week. And I'd rather just figure out the why.
    I also rasterized the fork icon in AI, then performed an image trace to vectorize it again - in hopes that this would be a magical fix. It was not. It ended up being a worse result than before, after using minus front.
    PROBLEM #2
    I found that if I alt-drag these elements, and then perform the minus front, I get very close to what is expected. However, this is where it gets really weird. Once I drag the newly created shape around my artboard, the area that had the minus front performed on it, begins to change. See the pictures below picture one for reference. What the eff. This is really confusing.
    Any help would be great. I am putting together a branding guidelines tonight for my client and this happens to be one of those little snags.
    Thanks
    Problem 1 picture - left side is after minus front
    Problem 2 pictures - after minus front, and moved around a few times

    You've got the Align-to-Pixel Grid turned on and are not using whole pixels for your objects.

  • CDX-GT565UP clock changes constantly

    Had this player for some time.  I listened to AM radio (news junkie) most of the time.  Then I started listening to FM radio.  Now the clock will constantly change time.  I can set it to say12:15 then sometime later it will be some random time like 10:27 or 8:06 or 11:51.  Anything but what it should be.  It could take 10 minutes to change or 2 hours or it will change to 4 different times in 1 hour.  There is no pattern that I can tell.
    This time change does NOT occur when I'm listening to any source other than FM.  It ONLY happens while listening to FM.
    Any ideas ? ? ?
    I'm old. I was trained on vacuum tubes. Everything I've worked on is either in the museum or on the History Channel.

    You said...
    This issue will occur if leads are not matched correctly with the car's accessory power connector. Make sure that they are matched correctly.
    Exactly what leads are you referring to?  Got a diagram?
    To further clarify my problem further, the clock changes the time even thought I never turn off the car
    Just today, during a 2 hour trip the clock changed 3 tmes.
    I never turned off the car. 
    I'm old. I was trained on vacuum tubes. Everything I've worked on is either in the museum or on the History Channel.

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • Validation not working during Mass Change of Vendor Line Items

    Hi All,
    I created validation for Reference Key 1 field of Vendor line items, in this validation i used customized user exit.
    Whenever i select multiple line items in FBL1N for mass change & try to put a unauthenticated value system gives error as per Validation only for 1 st item but it not work for subsequent items & put the unauthenticated value in subsequent line items.
    I am not able to understand why Validation is working only for 1st line item during mass change & not for subsequent line items.
    Please provide your suggestions in resolving this issue.
    Thanks
    sandeep

    Hello Sandeep,
    I understand your issue. First check if the changes as per the SAP Note 640908 (https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=640908) is available in your system.
    Actually, Mass changes call FB02 in background and at this stage Validation gets activated and hence, the control doesn't go back for the next item changes. You can test this by deactivating the Validation and then the mass changes will me fine.
    I hope this explains the behaviour.
    Thanks and regards,
    Suresh Jayanthi.

  • My phone (and iPad) keeps asking me to put in my password and when I do it says its wrong. I've changed it a few times but it still won't work.

    Every time I try to download an app or update one or back up my phone or iPad it wants me to log in but when I type my password in it always says its wrong. I've changed it but it still says my password is wrong. Help!

    I have same issue, i put password for original account, but still it doesnt let me in.
    Please advice asap
    Thank you in advance

  • I made some changes to my header, I did not like the results, so I changed them back and now I cannot edit the content of the page.  It is all grayed out..

    I was making some changes to my header file.  I did not like the results of the changes, so I changed them back.  When I did make the change back, I lost the ability to edit the page.

    Unfortunately, a picture of the code is not useful.
    The best way for us to help is if you put a copy of your problem page on a server and post a link for us.
    (rename it to avoid disrupting your live site)
    A less desirable method is to copy & paste your code in a post in the the web forum (not by email)
    https://forums.adobe.com/thread/1615559

  • HT1694 I'm having a lot of problems with the hotmail account, regularly is indicating an error in the server, that I have to introduce the password again that late that this is wrong. I have changed the password making this shorter but it does not work.

    I'm having a lot of problems with the hotmail account, regularly is indicating an error in the server, that I have to introduce the password again that late that this is wrong. I have changed the password making this shorter but it does not work.

    bump? Is bumping allowed? Lol.
    I just really need some help here.

  • I accidentally added the app store apple id wrong, then I was able to put the right one but now that I need to update the application tells me to insert the id of the psw wrong, how do I change it?

    I accidentally added the app store apple id wrong, then I was able to put the right one but now that I need to update the application tells me to insert the id of the psw wrong, how do I change it?

    You must update the apps with the Apple ID that they are purchased with.
    The only way to get round this is to re-purchase the app with the new Apple ID.

  • Content Search Web Part displaying wrong Results for anonymous Users.

    HI Forum Group,
    I am getting Wrong results for my content search web part. The requirement is to show the News Description for the selected news item.
    I have a catalog site which stores News like 
    News1
    News2
    News3
    as Items. and i have connected this catalog in publishing site which is anonymous. In the publishing site created one page "News.aspx"added search results webpart which shows all the news item. Added one page "Description.aspx" to show
    description to show the selected news item.
    When ever user selects any news from news.aspx page it will redirected to description.aspx with the selected item ID
    The "Description.aspx" the search results page gets the data based on the URL by QueryString parameter as shown below
    The problem is, if i multiple items to open in tabs all the items are showing the data same as the first selected item, though the article ID is different.
    Thanks
    Sithender

    Hi,
    Thank you for your feedback on how you were successful in resolving this issue.
    Your solution will benefit many other users, and we really value having you as a Microsoft customer.
    Have a nice day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • [svn:osmf:] 15505: Fix image smoothing, which had been broken as a result of some changes to how the display object of an ImageElement is exposed .

    Revision: 15505
    Revision: 15505
    Author:   [email protected]
    Date:     2010-04-16 09:29:26 -0700 (Fri, 16 Apr 2010)
    Log Message:
    Fix image smoothing, which had been broken as a result of some changes to how the display object of an ImageElement is exposed.  Add integration test.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as
        osmf/trunk/framework/OSMFIntegrationTest/org/osmf/elements/TestImageElementIntegration.as

    That's a comment in the file. It has no effect at all.

Maybe you are looking for