Find time offset from GMT using time zone

Hi,
Is there any way i can query the time offset from GMT using the timezone of a place.
E.g. If I am in India
My TZNAME is 'Asia/Calcutta' and TZABBREV='IST'
How can i get the time offset from GMT for this timezone?
In this case I want +5:30 as the result.
Regards
Ravi

SQL> select dbtimezone
  2  from dual;
DBTIME
+01:00
SQL> Regards,
Gerd

Similar Messages

  • Iphone can not find time zone automatically (facetime, imessage)

    Hi all,
    I am using my old iphone 4 like a ipod, only for imessage, music, and facetime...
    but after adding other apple ID on it, Imessege and facetime are not working properly. I deleted one of IDs and tried but still not working. After serious research on this kind of issues, I found time zone is not able to set up automatically and I think this is the key factor.
    Does anybody know this issue?

    Maybe the FT app or s/w part was omitted from the iPhones sold in SaudiArabia when you purchased them.
    But,
    I have an iPhone5 bought in the US.
    Currently I am in Saudi Arabia and I use FaceTime everyday to talk to my girlfriend.
    In India I found that FT does not work when on 3G, it works only over WiFi.
    But to my delight, in Saudi Arabia FT works on 3G as well.
    Then, a month ago, I bought a new iPhone5 for my friend in India.
    FT was available on the phone and we used it in India.
    As I did not open the box in SaudiArabia, I am not sure if FT on the phone I purchased in Riayadh works in Riyadh.
    Iam pretty sure that FT work on phones being sold in Riyadh now-a-days.

  • URGENT - Offset from GMT in Oracle

    Everybody,
    I am looking for getting offset (time difference from GMT) for local time zone using an SQL statement. Our server is set to GMT and using SQL, I should be getting local time and offset based on GMT on server. I know NEW_TIME function in oracle can be used to switch time zones. But not sure of how to get the offset. Any help greatly appreciated.
    null

    Hi,
    CLOB is the datatype that you need to use.
    You should download the Oracle Migration Workbench (http://technet.oracle.com/tech/migration). It will generate BCP and SQL Loader scripts for you.
    It will also perform migration of all schema objects e.g. stored procedures , triggers and views etc
    Regards
    John

  • Where can I find the appropriate text string for China Time zone?

    Hi,
    Where can I find the appropriate text string for China Time zone?

    Hi,
    The following timezone strings are supported in Oracle8i 8.1.7:
    AST, ADT: Atlantic Standard or Daylight Time
    BST, BDT: Bering Standard or Daylight Time
    CST, CDT: Central Standard or Daylight Time
    EST, EDT: Eastern Standard or Daylight Time
    GMT: Greenwich Mean Time
    HST, HDT: Alaska-Hawaii Standard Time or Daylight Time.
    MST, MDT: Mountain Standard or Daylight Time
    NST: Newfoundland Standard Time
    PST, PDT: Pacific Standard or Daylight Time
    YST, YDT: Yukon Standard or Daylight Time
    Since your's isn't one of these, I'm hoping this is in reference to the Web Agent's ORDWEBUTL package, in which case, you can use an offset from GMT instead. For example, here in New Hampshire, USA, we are 5 hours behind GMT, so the offset would be -5, while in France, it would be +1 as they are one hour in front of GMT. According to my Windows clock, Beijing is GMT +8. Of course, you'll have to figure daylight-savings time into the equation, if you have to deal with such changes.
    Regards,
    Simon
    null

  • Reg Custom Time Zone in java

    Hi ,
    Have configured the custom Time Zone (SAST) in the Linux box.
    The sh clock of the Linux box gives the custom Time Zone (SAST).
    Whereas the java application gives the date in GMT Time Zone.
    Noticed from the java docs that, if the custom time zone string (SAST) doesn't match the syntax ( like GMT +Value or GMT-Value) , "GMT" is used.
    Even if we create SimpleTimeZone with offset from GMT, it displays the date in “GMT” format. It won’t display the custom Time Zone.
    Could anybody please suggest me a way to support Custom Time Zone in java?
    (i.e.) The java application should give the date in custom Time Zone (SAST) instead of GMT format.
    FYI : Java version : "1.5.0_17"
    ================== Snippet from java docs====================================
    The format is locale independent and digits must be taken from the Basic Latin block of the Unicode standard. No daylight saving time transition schedule can be specified with a custom time zone ID. If the specified string doesn't match the syntax, "GMT" is used.
    Java doc URL : http://java.sun.com/j2se/1.4.2/docs/api/java/util/TimeZone.html

    hi Kumar,
    You can change the timezone of the JVMs using the -Duser.timezone
    parameter,  add -Duser.timezone=<timezone> to all dispatcher and
    server processes in your systems, using the configtool           
    1) open config tool                                              
    2) select yes                                                    
    3) select "cluster-data->instanceXXX->serverXXX/Dispatcher"      
    4) in "Java parameters" add new line "-Duser.timezone=<timezone>"
    5) click "Apply changes"                                         
    6) restart your instance
    Let me know how is the result
    Regards

  • What does time zone support do on iCloud? Should I leave it off or turn it on?

    I find time zone support to be one of the most confusing things Apple does.
    If I travel from Chicago to Florida (Central to Eastern time) my appointment times change on the Mac.
    I'm not sure what they will do on the iPhone,
    and really, what does it do in iCloud? It is an advanced option as I found out when all my Chicago appointments showed up two hours earlier in the cloud.
    I changed to Central time, using the instructions on iCloud, but what is the value of time zone support there? The Apple server is not moving when I travel. Should I just leave it turned off?

    they are not always on the same time due to daytime saving time changes twice a year in Israel which are not syncronized with any changes in Gaza, Beirut, etc.

  • Time zone in Vendor master address

    Hi
    Our client is sending some data with the message type ADRMS. It contains the valueof Time zone also.
    But when we display the vendor through transaction XK03, it does not show the value of time zone in address view.
    Could you all please help me that where we maintain the value of time zone in vendor master.
    Thanks & Regards
    Shilpi

    In vendor master in the Address view at street adreess you will find Time zone.just go to xk02 and if you still doesn't find then there you will find a More fields icon (a plus icon in a box).In it you will find it.it should be remembered that entry of country and region is must.
    If you still doesnot find then go to spro@financial accounting@accounts receivable and payable@vendor accounts@master data@preparation of creating master dat@define account group with screen layout@here double click on the vendor account group and further double click on general data.Again double click on address and check whether Time zone is suppressed and if suppressed then make it optional.
    regards,
    indranil

  • Find current age from day in mdx query

    Hi,
    I need to find current age.In my cube i have dob attribute.
    so how can  i find current age from day using mdx query.
    Thanks,
    Indu
    indu

    Hi,
    when i ran above query, i am getting days.
    But i need current age in years.
    so i tried with below query, then i am getting value  like 8.99.how can i round off in mdx query?
    in sql i used Floor function for roundoff. in mdx which function should i use?
    With
    MEMBER [DOB] AS DATEDIFF('d',[Ship Date].[Date].CurrentMember.Name,Now())/365.25
    Select {[DOB]}
    on columns ,
    NON
    EMPTY {[Ship Date].[Date].[Date]}
    ON ROWS From [Adventure Works]
    indu

  • Outlook Client recurring appointments time zone / GMT offset problem

    I will try to describe this with text, although it's a very visual problem.  I added a post to my blog with
    it so I could include pictures.  If you think you need pictures to understand the text below, please review that entry.  Please note, the one appointment instance cited below, is an example, there are many others with this same problem,
    and it only happens with recurring appointments.
    Relevant System Information:
    Windows 7 Utlimate
    Office 2010 Professional Plus (14.0.6023.1000 64-bit)
    Exchange services hosted by Microsoft.
    Android HTC Inspire 4G also configured as exchange active sync client.
    Issue Description:
    I have a specifications meeting that is scheduled for Tuesday mornings (every 2 weeks) at 8:30 am.  In the body of the appointment, it even has this text spelled out.  "When: Occurs every 2 weeks on Tuesday effective 11/23/2010 from 8:30
    AM to 11:30 AM (UTC-05:00) Eastern Time (US & Canada)." as an indicator of the actual appointment time.  The problem is that one day, several weeks after this appointment had been sent to me, Outlook 2010 decided that it was really at 1:30 PM. 
    Since that time it's been showing incorrectly on my calendar at 1:30 PM.   So, I recognized almost immediately that this was a 5 hour difference, which happens to also be my timezone offset (except that I'm currently in daylight savings time -- so
    it's really a -4 offset right now).
    I ran the 2010 service pack 1 installer, based on the suggestion of my IT group, and found I already had the service pack installed.  I've tried the timezone tool as well and that didn't work.  Please keep reading.
    Next I went to my exchange host with outlook web access.   The appointment is closer to correct there, showing at 9:30am.  It think here it almost seems as though it's applying the DST, but not correctly, maybe doubling it?. 
    Meanwhile, back in outlook, if I go to the scheduling assistant and look at my time while making an appointment with other invitees it - much to my surprise - matches the time in OWA, not the time in outlook client.
    Finally, if I go to my Android and look at the appointment, it is correct.  8:30 AM.  
    So to summarize:
    Real Appoinment:   8:30 AM
    Outlook Client Time: 1:30 PM
    OWA / Exchange Time: 9:30 AM
    Android Calendar Time: 8:30 AM
    This applies to many others, this is just a convenient example.
    This applies only to recurring appointments.
    Any help would be very appreciated.
    Thanks,
    Jon

    Status Update, and recommended next steps:
    I opened a ticket with HTC support the day before yesterday (Ticket # 03543601). The initial response was an email reply with the typical level one suggestion to remove and re-add the Exchange ActiveSync account on my phone, and if that didn't resolve the
    issue to do a hard reset and then add the account again. Since I have multiple users experiencing this same issue, where the common denominator seems to be centralized around the move from Outlook 2007 to 2010 and the HTC Gingerbread OS, I convinced them that
    this would not be an acceptable remedy, and my case was immediately escalated without hesitation. I will say that though I don't have a resolution, I'll applaud HTC for not giving me the runaround and giving me a live person who could talk intelligently about
    the issue.
    Today, I received a phone call back on this ticket  from someone in the escalations department at HTC named Travis. After explaining the issue in detail to him and referencing
    this specific thread, he acknowledged that it did in fact sound like a coding issue coming from the device where the value in the “dispidApptTZDefStartDisplay” property was being set improperly by the device/stock email/calendar application in their implementation
    of ActiveSync. He then stated that he would relay this to the developers to look into the issue. He further elaborated that the case would either be in a status of, "this is being looked into", or "We believe this to be resolved in [x] update". He said that
    they will probably continue releasing updates for the Incredible (I did not specifically ask about the Incredible 2), and while the Incredible 2 is definitely slated to get Ice Cream Sandwich, the Incredible one is still in a classification of, "being evaluated".
    Personally, I doubt that the Inc 1 will get ICS, but it is possible. From what I have read, the general stance is that phones will be updated for 18 months after release, and the Inc 1 is 24 months old this month (bummer - I REALLY like this phone).
    According to Verizon and HTC, these are the phones that will get ICS (or Android 4.0):
    Ice Cream Sandwich Coming to Many Verizon Wireless Smartphones
    Android 4.0, Ice Cream Sandwich Updates
    While it is possible that an update will be released for the Incredible 1 to fix this issue, it will likely be months before one is available, so we'll probably have to move to Touchdown for Exchange by NitroDesk in order to resolve this issue....or move to
    a newer phone with ICS 4.0.
    Speaking of which, there is a whole laundry list of issues with Exchange ActiveSync and third-party devices. A number of them are listed in this Microsoft KB article:
    Current issues with Microsoft Exchange ActiveSync and third-party devices
    Per the article:
    Microsoft's recommendation for Android - Upgrade to Android OS 4.0
    Microsoft's recommendation for iPhone/iOS devices - Upgrade to iOS version 5
    So, for anyone on Android experiencing this issue (or others listed in the Microsoft KB above), if your phone is likely to get ICS soon, then you may want to hold on and just be vigilant about checking your calendar on OWA. If your phone isn't slated to get
    ICS or if you can't wait, my recommendation is to get Touchdown for $20. You may still have to delete and re-create appointments that are wrong, but hopefully the issue won't happen any more once you move to Touchdown. And if they do, at least you've got a
    shot at a more rapid fix with a company like NitroDesk. (no offense HTC).
    Good luck. I probably won't post again unless I get notice of a fix for this specific issue or some other significantly useful information.
    Jonathan, MCSE
    For reference, here are other forums where this same issue has been discussed:
    Weird Outlook issue
    Calendar appointments move by 5 hours (or whatever the TZOffset
    is) - ActiveSync issue?
    Outlook Client recurring appointments time
    zone / GMT offset problem (This is the thread that you are presently reading)
    Outlook 2010. Recurring meeting time off by 5 hours, what is the problem?
    Recurring Calendar Appointment shifted 6 hours later in Outlook 2010
    (maybe ActiveSync)

  • Why are my apple calendars using GMT time zone?

    My iPhone and iPad are using the GMT time zone. Why???

    I'd like to bump this and add to it....We have a 30Mbps broadband connection with Aiport Express providing the wireless. When Apple TV is streaming Netflix, all other devices are virtually useless. I test each device on speedtest.net and they are all now 1-2Mbps and less, often stalling out. HOWEVER, if I stream Netflix on my wirelessly connected Mac Mini, all other devices consistently test at 22Mbps+. What is going on? I'm tempted to toss my Apple TV. Any time someone uses the Apple TV, the internet slows to a crawl, AirPlay stutters and stops, etc. Shut off Apple TV and we can simultaneously stream Netflix, etc. on 5 devices and the internet runs smooth. It makes no sense why Apple TV is doing this but I have tested it and 100% of the time, Apple TV is the culprit.

  • Hi. My 2013 MacBook Air has suddenly reverted to a previous Excel spreadsheet (from May). I use the same spreadsheet several times a day and hit cmd 's' every 5-10 minutes. How can I find the version I was using yesterday?? Please help. Thanks

    Hi. My 2013 MacBook Air has suddenly reverted to a previous Excel spreadsheet (from May). I use the same spreadsheet several times a day and hit cmd 's' every 5-10 minutes. How can I find the version I was using yesterday?? Please help. Thanks

    Might be something for you here > Automatically save and recover files - mac excel

  • How to find max(time) from table using group by

    how to find max(time) from table using group by
    select var max(time)
              from table
              into (var1, time1)
               where .....
                 group by var.
    it is fetching record which is top in table.
    if u can help?
    regards.

    No this will fetch the maximum time from teh table.
    select var max(time)
    from table xxxx
    into (var1, time1)
    where .....
    group by var.
    Refer this code
    TABLES SBOOK.
    DATA:  COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
    DATA:  CONNID LIKE SBOOK-CONNID.
    SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
           INTO (CONNID, COUNT, SUM, AVG)
           FROM SBOOK
           WHERE
             CARRID   = 'LH '      AND
             FLDATE   = '19950228'
           GROUP BY CONNID.
      WRITE: / CONNID, COUNT, SUM, AVG.
    ENDSELECT.

  • Customising SYSDATE using time-zone offset

    Situation:
    A database instance is configured with multiple schemas with each holding data for a company. A set of Oracle Forms and Reports programs has been developed to run against each of these schemas.
    However, there are few overseas companies phyiscally located in different time zone with respect to the database location.
    Is there a way to "customise" sysdate to generate "adjusted" date/time value using the time zone offset "without changing the programs" (in Forms, Reports and dbms)? Most of the programs use sysdate to populate date-specific fields.
    Please advise.
    Thanks

    Sysdate is sysdate-- it can't be changed on a session-by-session basis. You could write your own sysdate-like function, but that would require code changes. If you are making code changes, and you're on 9i, I would suggest using a TIMESTAMP WITH TIMEZONE data type.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to remove time zone offset when we use a number as a relative time variable?

    Hi everyone!
    I've a small doubt in using a number as a relative time. If I change the display properties of a numeric to relative time, it takes default value "5:30 AM", may be because I'd set time zone to Indian time during installation ( India is 5:30 hours ahead of Greenwhich). I want it to take default value "12:00 AM'. Please help me how I do it?
    ( I can also subtract 5:30 hours and get the same. But I want that to have "12:00 AM" by default......?!)
    Thank you all..!
    pavamana

    pavamana_pk wrote:
    Hi everyone!
    I've a small doubt in using a number as a relative time. If I change the display properties of a numeric to relative time, it takes default value "5:30 AM"
    As Ravens already stated, you are using ABSOLUTE time.  Relative time can only be set to display hours, minutes, and/or seconds.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can I truncate the time zone from a Date object without using String?

    Does anyone know how to truncate the time zone portion of a Date object and maintain the object as Date, NOT String?
    I just need the date, i.e., 05/02/2008 as a Date.
    Thanks.
    JDev1

    Although you haven't said so, I expect you must be having some problem with that?
    My wild guess: the server is creating a Date object and setting its time component to zero (midnight). Of course since Date doesn't have a timezone, that would be midnight in the server's timezone. Then you are interpreting that date as if it were in your timezone, and since you are west of the server, it appears to be 11 PM or 9 PM or something on the day before.
    What we do is to send our timezone to the server and tell the server to use it when creating the Date object. Alternatively, when formatting the Date object you could use a SimpleDateFormat with the server's timezone applied. There are no doubt other solutions that could be provided if we had a description of your problem.

Maybe you are looking for