TIME_MANAGER_INFO 1 hour earlier than SYSDATE?

When one of our processes fails and places the message back on the queue to be retried in 5 minutes time the TIME_MANAGER_INFO is 1 hour + the delay time less than SYSDATE in the database.
For example, if our message fails at 11am and the delay period is 5 minutes the TIME_MANAGER_INFO is being set to 10:05am when I would have thought it would be set to 11:05am. I'm guessing that wherever the Advanced Queue is getting its time from hasn't been adjusted for daylight savings but where is this set/managed so I can get it in sync with SYSDATE.
Where is the Advanced Queue getting its time from?

Just in case anyone else comes across this, we had a bug where the queue state was staying at 1 and was never being reset to 0 once it reached its delay time. In order to "fix" this until Oracle releases a patch that works we wrote our own procedure that would compare the TIME_MANAGER_INFO value with SYSDATE and if it was earlier than sysdate then we set the state to 0 so it would be picked up by the dequeue. Easy. Except that because of the timezone issue the TIME_MANAGER_INFO value was immediately set to 1 hour earlier than SYSDATE so we always set the state to 0 regardless of its delay period. So, we are looking at using the TIMEZONE value in the system.aq$_queue_tables to determine which timezone the queue is using and compare it to the databases timezone to see if we should change the TIME_MANAGER_INFO to something different. At least, that's what we'll probably do.
select time_manager_info,
cast( from_tz( time_manager_info, (select timezone from system.aq$_queue_tables where name = 'MY_QUEUE$TAB')) at time zone (select sessiontimezone from dual) as date) t
from MY_QUEUE$tab qt

Similar Messages

  • TS1702 The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar.  Actually, they post exactly 4 hours earlier than the correct time on my Yahoo Calendar.  Does anyone have a "fix" to correct the "time

    The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar. Actually, items post exactly 4 hours earlier than the correct time on my Yahoo Calendar.   My i4S is in the correct New York time zone.  Help?

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • Why are all my contacts suddenly 2 hours earlier than they were entered.  I just noticed this today April 24

    Why are all my entries on Icloud 2 hours earlier than they were previously entered.  I just noticed this today April 23?  They do not match what is on my Ipad or on my imac.  Looks like the clocks are not syncronised someplace.

    Your post is fascinating because your post header says "today April 24" while your post body says "today April 23"   So maybe that is related...
    Anyway, make sure all your iCloud devices have Settings > General > Date & Time > Set Automatically = "On".
    Also, in iCloud.com, open Calendar, go to Preferences (upper right) > Advanced > and check "Enable Time Zone Support".

  • The time on the weather widget on my home screen does not match the phone time.  Initially it did, but one day it started being 1 hour earlier than the phone time.  I went into Settings/Date

    The time on the weather widget on my home screen does not match the phone time.  Initially it did, but one day it started being 1 hour earlier than the phone time.  I went into Settings/Date & Time & now the time on the weather widget is correct, but the phone time is 1 hour earlier.  Any suggestions??

    Settings | Date and Time  then select Automatic date & time, and Automatic time zone. In this way, the carrier time will populate the phone. If it's still going 1hour off, then I'd call VZW and inquire if they have a tower issue, specially if it happens in one particular place.

  • My iPhone calendar sets my appointments a hour earlier than my outlook

    I added my work email (push) to my iphone last week and now when in automatically sincs with my work calendar in makes the appointments on my iPhone an hour earlier than the ones in my Outlook. Why?

    I had the same problem and corrected it by going to the iPhone setting...under date and time set the time as automatic if you have the iPhone 3G. If you have the 1st generation iPhone, do the same but I think you also have to change for example to USA eastern time , if you are in the east coast. In other words, change it based on your geographical area and it should work fine...hope this helps!

  • My iCloud Calender is set with wrong times - every entry appears 8 hours earlier than the equivalent on my iphone Calender. Why? and how do I fixt it?

    my iCloud Calender is set with wrong times - every entry appears 8 hours earlier than the equivalent on my iphone Calender. Why? and how do I fixt it?

    use a supported web browser to go to iCloud.com. Click your name (top right) and set you Time Zone to the correct one.
    Hope this helps, Andrew

  • SPlanner shows appointments an hour earlier than outlook

    My S4 Calendar has started syncing all my Outlook appointments an hour earlier than in Outlook.  I was recently (a month ago) in the Pacific Time Zone (I live in the Eastern Time Zone).  I have traveled in the past with no problem - my appointments always go back to the correct time.  This time, I've gone as far as deleting my Exchange account, but the entries are still an hour behind.  I've also tried using other Calendar apps.  They too are syncing the wrong time.  I use MS Outlook 2010.  Help! What am I missing!

        Let's figure this out, Tarheel711! If you use other calendar apps that are not connected to outlook, do they show appointments at the correct time? If this is only an issue when synced to Outlook, there may be an issue with your exchange server.
    Thanks,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • When I send emails w/Firefox (AOL) they are time stamped i hour earlier than my PC's system clock. My system is set to Eastern Time Zone

    When I send emails w/Firefox (AOL) they are time stamped i hour earlier than my PC's system clock. My system is set to Eastern Time Zone

    The cache is mentioned several times in the report.
    Go to ~/Library/Caches/com.apple.systempreferences
    Move the Cache.db file from the com.apple.systempreferences folder to the Trash.
    Restar your Mac.
    ~ (Tilde) character represents the Home folder.
    For Lion:   To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library

  • ICal invitations saving 1 hour earlier than intended

    My team and I have recently moved to MacBook Pros, all using iCal, all with iPads and iPhones. We are all experiencing the same issue - when we send a client or external person an invitation from iCal, it saves in the recipient's calendar one hour earlier than our invitation time. Please help! This is really making our client relationships difficult!

    I am experiencing the same issue...also in AZ.  Did you ever find a solution?

  • I have downloaded the latest software but it has set my phone to the incorrect time, 8 hours earlier than it is so alarm didn't go off this morning as I hadn't noticed! Won't let me change time. Apps look like cartoons designed by a child. V unhappy

    I have downloaded the latest software but it has set my phone to the incorrect time, 8 hours earlier than it is so alarm didn't go off this morning as I hadn't noticed! Won't let me change time. Apps look like cartoons designed by a child. V unhappy

    PhotogYogi wrote:
    I Have the same issue on a brand new iPad mini 2. My battery is only lasting up to 5 hours. I went on chat with Apple last night and they said my battery is fine and its a Safari issue. I'm literally losing 1% every 3-4 minutes. I tried recalibrating my battery, signing out of iCloud, shutting off all locations, turning off background app refresh, restoring network settings, restoring all, and finally restoring from iTunes with no luck. This is just awful. I got this iPad so I could use it on my long flight for a trip I have coming up, and unfortunately, it's not going to last that long, plus I'm concerned about how many times i will be recharging my battery because of this since battery's do have a life cycle dependent on the number of charges. This is frustrating and needs to be fixed ASAP and addressed by Apple.
    By the way, Apple told me to bring my device to the Apple Store because it's still under warranty. That's great and all, but I'm going to waste my time if there is no fix for this issue.
    Ok so you want Apple to address the problem, but yet you don't want to take it to them just in case they can't fix it? What if they can fix it? Complaining here certainly won't fix it.

  • Why does ical sync 5 hours earlier than iphone

    When events on the iphone calendar transfer to ical the dates show a 5 hour difference. the imac time zone is US Central (DST) and the iphone is has automatically set the time zone when I entered Milwaukee in the clock.

    Damon's post is correct, but you don't have to disable the Time Zone to get this to work. Just set the time zone there in addition to the clock app. (I had choosen a time zone in the clock app, but the Date & Time - Time Zone value was empty and I was 'losing' 3 hours.)
    Settings -> General -> Date & Time -> Time Zone -> (Enter/pick a city)
    It just works (now)!

  • Set reminder when synced to the cloud are 3 hours earlier than my phone or iPad? Why?

    Set reminders and when to icloud (only) they are pacific time rather than eastern standard time-why?

    Thank you. I actually forgot about setting in the cloud-called support stated update probably reset to default which is Pacific time.

  • Calendar invites from Outlook(pc) come as .ics, can't be deleted & are 3 hrs earlier than the meeting time!

    Please help!  This is so crazy complicated.  I believe the problem is either 1) a faulty phone, or 2) a bug in iOS5 for outlook calendar if you aren’t on an exchange server (please someone tell me iOS6 will fix it!). 
    I bought my nanny an iPhone.  She does not have a mac and she does not sync to a pc.  She just uses the phone.  She does not have an exchange server – she is just AT&T with an optimum online email account.  I use a pc and Outlook 2003 (yes, I know it’s old, waiting to buy a new laptop and upgrade at once).  I manage my children’s very busy schedule on this calendar and I invite my nanny and my husband to most appointments.  I am on an exchange server for this calendar (my personal).  I also use an iPhone and iPad and have servers hosting my email accounts.
    When I invite my nanny to appointments on my outlook 2003 pc calendar she receives an .ics file instead of a nice looking appointment with the name of the appointment.  If I invite myself at work (also on a server, PC and on my iPad and iPhone) or my husband (uses an iPhone 4S), neither of us get .ics – we get a normal calendar meeting.  We can open and accept and delete, etc.  Since we are both on exchange servers (not the same ones) I think this must be the first problem – why she gets .ics and we don’t.  When she opens the meeting she can ONLY accept.  There are no options for Maybe or Decline.  When she accepts – get this – it adds the meeting THREE hours earlier than the actual time!  Yes, we’ve checked her time zone settings.  I have also restored the phone.  It doesn’t help.  She also can’t decline the meeting ever.  It’s stuck on her phone.  When I delete the meeting, it doesn’t delete from her account.  She now has a test that we added as a recurring appointment on Sunday morning that will be there forever!
    THEN I tested a few other things.  I invited her NOT by sending the meeting directly from my outlook and PC but by opening the meeting once added on my iPhone and on my iPad and inviting her.  When I do that, they get added at the CORRECT time BUT she still has no option to decline and she can never delete these either.  When I delete from my PC, my iPhone and my iPad – they all stay on her iPhone.
    NEXT… I tried sending her a meeting from my work PC which is the newest version – Outlook 2010.  Same thing, came in as .ics, no ability to decline BUT… the time added correctly!  This is from an exchange server.
    I’ve read about other people having this issue but they have one appointment out there that they can’t delete.  This is 20 a week I’m sending her… and the time zone changing – that’s just crazy.  I haven’t found anyone with that issue.  Could we really be the only people out there that use a lot of meeting invitations – Outlook to iPhone and they don’t know it’s a bug?  Or do I have some funky setup on her phone?  If I add her to my server will that fix it?  Or does she just have a faulty phone?  Please help!

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • All of my dates in Calendar are now an hour early?

    I just updated the software on my iPhone and now all of my calendar dates are showing as one hour earlier than they were entered as.  Is there a setting that I need to change?

    Hi Jeff,
    I have heard of some past incidences in which the files disappeared temporally but they always reappeared after a short time. Was that the case for you too?
    -Dave

  • Icloud calendar showing events 1 hour early

    I'm accessing my Calendar in icloud using Chrome (Version 35.0.1916.153 m) from my work PC. I've noticed that sometimes the events I've entered manually have mysteriously changed time so that they appear one hour earlier than I originally entered them as. If I double click the event to open it to edit it, the correct time is shown but as soon as I close it again it is listed incorrectly.
    Any ideas?
    Many thanks

    I wish is was that simple. Unfortunately not all of the events in my Calendar are shifted. I'm starting to wonder if it is just events I created on my iphone that I'm viewing from my pc and vice-versa

Maybe you are looking for

  • IPod Touch will not restore, error message 1602 "cannot restore Ipod"

    My Touch was acting funny today by causing me to not be able to change my volume. The problem went away this afternoon, but re-occurred tonight and wouldn't go away. So I tried restoring and after the software was updated iTunes gave me an error 1602

  • Modeling transaction data

    Hello all, I have 2 questions that I was hoping to get an answer to: Question 1: What is the normal way of modeling transaction data with a changing status in a BW system? Are there any links/threads to read? I thought that transaction  idata would g

  • Streaming live audio in a flash movie

    Hi, I'm working on a website for a local radio station, and I want to be able to stream a live audio feed of the radio station to a flash movie. Right now all I really know is that the URL to get this live feed is http://kpacradio.pacific.edu:8000 -

  • How to generate a pulse on x number of events PCI-6602

    I am running LabVIEW 5.1 full development with a PCI-6602 counter board. I would like to generate an output pulse after counting x number of input pulses. I would also like to reset the counter with an external signal. My application is I am trying t

  • SQL-Loader and 2 Servers

    Hi, I want to load flat-files from 1 Computer (on witch my programs are installed) to Computer 2 (with the DB: Oracle 10g). Can't I do that ? with the SQL-Loader ? On the 1 Computer there is no SQL-Loader installed, must I install it ? If yes where c