Finding out timezone from TimeZone offset

Hi,
I'm using JavaScript to find out the local time on client, setting it to a cookie.
I then retrieve the value in a JSP page to find out the correction necessary for adjusting the time (in UTC) to local time. The problem, however, is that JavaScript returns the Daylight Savings Offset and the Zone_offset as one total, making it impossible to find out what TimeZone this Offset maps to.
My utility class is using the myCalendarObj.setTimeZone (tz) to adjust the time stamp.
Any suggestions on how I could find out what TimeZone my offset maps to, or any other suggestion??
Regards,
Mark

And what to do with problem of Daylight Saving Time? Not all countries use it. For instance, try to get all TimeZone IDs for GMT +00:00...
For this moment, I see only 2 solution: write a little applet, that will be detect TimeZone of client or lets user to detect his location (like in "Settings" for this page - top right corner). But it's bad solutions.

Similar Messages

  • How to find out last_query from jsp form in oracle applications

    Hi
    At present i am working on Quality Module.
    in India Localization.
    In Quality module -> Results -> Inquiries -> Skip Lot Inquiry
    If i enter our organization name
    Then its openning one form.
    I am unable to find out the table names from the jsp form.
    User also unable to comment on it.
    So, please help me on this issue.
    Regards,
    Pradeep.

    Hi
    Once you open the jsp form, at below leftside corner you can see link : About This Page. If you click on the link : About this Page this again open another window, there you can see multiple tabs at header level, if you click on page tab, there you can all the VO objects used to build this page. If you click on VO object hyperlink you can see the query.

  • How to find out OrgUnit from the MSS team viewer iview

    Hi Experts,
    Please refer following link:
    https://wiki.sdn.sap.com/wiki/display/profile/HowtoreadinformationfromtheteamviewerinWeb+Dynpro
    Using this link, I am able to find out the perno.
    I have to find out OrgUnit of selected person. I did the mapping. I have also written following code:
    String orgunit = wdContext.currentSelectedOrgUnitElement().getObjid();
    wdComponentAPI.getMessageManager().reportSuccess("You have selected orgunit "+ orgunit);
    However, orgunit value is always null
    Can you please let me know how we can get the orgunit in this case?
    Regards,
    Gary

    Hi Gabriel,
    Requirement 1
    Thanks. I did so. Using this I can see the OrgUnit. However, this is the OrgUnit of MSS user. It remains same through out the program. It is unlike pernr which changes as the user clicks on different Employees.
    My exact requirement is as below:
    User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Structure". Here organization structure will be displayed. Now the user will expand Org Structure. I want to know the Org Unit of different Organization as the user will go on expanding the Org Structure using the buttons
    Requirement 2
    User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Unit". Now we can see the Go button. I have to write some code on the button. Where I can find the code for the button. I spent lot of time. I am not able to find out the exact place where the view for the button is located.
    Please help.
    Regards,
    Gary

  • How to find out index from table?

    Hi all,
    I've tried to create indexes to some columns from some tables to use for Oracle Text.
    I ve got a error message saying that I can not create an index:
    "cannot create multiple domain indexes on a column list using same indextype".
    I was wondering if an index already exists for that column, how do I find out the name of the index that points to that paticular colum?
    Thanks a lot
    E.

    Check the view dba_ind_columns
    That will tell you.
    something like;
    select index_name, column_position, column_name from dba_ind_columns
    where table_name = '<table name>'
    order by 1,2

  • Howto find out location from where class was loaded

    Hi all.
    Is there any way I can find out from which directory, jar or url a certain object/class was loaded?
    Somewhere in the code the object is instantiated (class is loaded). E.g. like so:
    SomeObject someObjectInstance = SomeObjectFactory.getInstance();
    Can I use this object to find out from where in the file system it was loaded? E.g.
    someObjectInstance.class.fooMethod() or
    someObjectInstance.class.getClassLoader.barMethod()
    Thanks for any help.
    Joe

    Usage is actually like so:
    MyClass myInstance = (...)
    myInstance.getClass().getResource("/package/MyClass.class") returns the url object, pointing to the class;
    if you want a string instead, simply append toString():
    myInstance.getClass().getResource("/package/MyClass.class").toString()

  • How to find out Application from Component

    Hi Experts,
    I have a component called FITV_VT_TRIP_DOCUMENT which is called from two applicatons FITV_POWL_TRIP and another one say ABC.
    Now i need to know which application is calling the component.
    Is there any Class->Method to find out the application name from component.
    Or Is there any method to get the browsers URL from that component.
    Thannks,
    chandra

    Hi,
    When you pass the Application name you can get the URL (But this can be mapped to external alias also).
    * Generate the url for the component
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'ZWDC_SALES_REPORT'  "Application name
        IMPORTING
          out_absolute_url = lv_url.    "String
       "This can be an internal alias
    Refer these links -
    To get Component name from Application -
    How to get Component name from Application
    Get the Calling WD component name -
    The name of calling WebDynpro
    Regards,
    Lekha.

  • How to find out tcode from a program that can run the same report?

    Hello all,
    I have a program name and I can see it is successfully proccessed. Now if I want to get the report via a tcode, how can I get it?
    How can I find the tcode from the program itself?
    Regards,

    Hi,
    1) Go into SE80, > Enter the name of the program, and press 'Enter'.
    2) You will see a folder called 'Transactions' appearing in the object list on the bottom left.
    3) Open the folder, and you'll find T.code of that program.
    Thanks,
    Nirav

  • Find out IBase from Handle (inside BADI_IBASE_SAVE_CHCK)

    Hello,
    I have to use BADI_IBASE_SAVE_CHCK to save additional data after IBase data has changed. The BADI has the import parameter HANDLE. Does anybody know how I can find out which IBase stands behind this temporary handle? Thanks in advance...
    Regards, Kay

    I need some help on the same issue .. just wondering if the original requestor has found solution or workaround for this. What we've in this BADI is only the handle number which doesn't seem to mean anything.. IB_COM1_READ_IBASE will not return us the ibase as expected .. the FM needs the ibase to work.

  • How to find out combination from following situation

    Dear all,
    It is bit different,with your permition,i am taking this apartunity to make some changes.
    1 2 3 will always be in this order {123}, i want to find out number of cases can be made,
    like {1},{2},{23},{13},{12},{123}{3},{}. but each number has two states like "a" "b", i.e,
    each one will become different entity,like 2a,2b,3a,3b,1a,
    with only exception i.e. 1 will have only one state 1a.
    please tel me step wise using formulas, so that i can understand, also any link will be helpfull.
    is there any way to solve this using tsql program or any programm exist in any other language.
    yours sincerly

    Hi Saeid
    Compare the Execution plan of those queries:
    SELECT 'a' s UNION SELECT 'b'
    SELECT 'a' s UNION ALL SELECT 'b'
    If you know that the values are unique always use UNION ALL and not UNION :-) It is much better (in the execution plan comparing the queries above you will get 56% vs 44%).
    [Personal Site] [Blog] [Facebook]

  • How to Find out the from which table we can get the following fields?

    The following fields are from invoice data
    How to  know or from which table we get the following fields:
    Header Details:
    Manifest:, Finance Control #:, Alternate SID:, Carrier:, Container/Trailer #:, Hazmat Code:, Harmonizing Code, Freight Forwarder, Fiscal Rep., Ship From,  Notify Party
    Item Details:
    VAT/Tax Rate %, VAT/Tax Amount, Measurements, Net Weight, Gross Weight
    thanks

    Dear Krishnama
    Place your mouse on the required fields and press F1.  A box with header Performance Assistant will appear in front of you where you select "Technical information" (icon like hammer and spanner). 
    You can now see what table it is.
    thanks
    G. Lakshmipathi

  • How to find out software from apple store

    Dear sir
    i don't have open a apple store so how can i download other app.

    What do mean by 'don't have open a apple store' ? What problem are you having ? As you've posted on here then you have an account.
    If you want to create another one then there are instructions on this page for doing so : http://support.apple.com/kb/HT2731
    Or if you don't want to give credit card details then follow the instructions on this page when creating it : http://support.apple.com/kb/HT2534

  • Timezone from offset

    Hi Folks,
    To retrieve the client time zone, i gathered the timezone offset through javascript from the client. And i need to produce timezone from this offset at the server side.
    Hence please let me know, if there is any chance to produce the timezone from the offset value.
    Note: i tried TimeZone.setRawOffset , but it changes the offset but not the time zone.
    Thanks,
    Vivek

    Calendar.setTimeZone?

  • Find out password ?

    Hi Experts,
    i have some query
    i am not finding my user password in oracle ,
    should i find out password from username and encrypted password
    means (example)
    select username,password from dba_users ;
    PERFSTAT A68F56FBBCDC04AB
    CTXSYS D1D21CA56994CAB6
    DBSNMP E066D214D5421CCC
    XDB E76A6BD999EF9FF1
    myuser 461064AE71029EDD
    in above query bold type is my user but how can find out these password?

    i am not finding my user password in oracleIf you just find user passwords like that dont you think that would be a security loophole?
    should i find out password from username and encrypted password Why?
    in above query bold type is my user but how can find out these password? Once again why?
    Adith

  • How to find out with my application is using any timezone dependable data

    hi guys,
    i am going through the notes: Updating the RDBMS DST version in 11g R2 ID 977512.1
    Bum into this part where it mention:
    Oracle cannot say to what DST version you need to use, this simply depends on if you are using DST information or not in SQL
    Please advice what are the ways to find out if application(s) connected to my database is using named timezones.

    I believe the MOS Doc linked in the sentence immediately after the one you quoted above should help
    HTH
    Srini

  • How to delete unwanted timezones from Calendar app on Yosemite?

    I upgraded to Yosemite and one of the problems I had with Calendar App had something to do with Time Zone.
    I realized that Calendar added California time as default. So now I want to delete the unwanted time zone, but cannot find a way to do so.
    How does one remove or uncheck a time zone in iCal (Mountain Lion)?
    I found this forum and tried, but as the last person who posted said, it doesn't work on Yosemite.
    Does anyone know to delete unwanted timezones from Calendar App on Yosemite?
    Thanks.

    Thank you for your response.
    However, I am not asking about how to change the timezone on Mac. I'm asking about how to delete unwanted timezones on Calendar app.
    Here I have 2 Pacific Time's. They are basically the same, but sometimes my computer choses one of the other without my intention. And when it does, it keeps showing (PST) on next to the starting time which I do not want. In order to avoid that, I'd like to delete "Pacific Time (America/Los_Angeles)". From the link you provided, I'm not finding the solution to this. I might be looking at a wrong spot and if so please be patient to guide me through.
    If my question still doesn't make sense, please click the link to the solution for the same problem on Mountain Lion in my original question. You might understand my question better from it.
    Thank you.

Maybe you are looking for

  • How do I get adobe flash to run on my MacBook pro

    Downloaded adobe flash but videos still won't play.  Please help.

  • How to import .iaf files into Outlook 2011 for mac?

    I exported emails from Outlook Express (PC) to .iaf files years ago and now need to access them on a mac. I have downloaded Office for mac 2011 but can't work out how to import them into Outlook 2011. Can it be done? Any suggestions would be hugely h

  • If number is not negative

    I want an if statement to do the following If (x is not neagaitve) Do this. eg. If (x!= -n) //where n can be one of an array of numbers Do this. Can anyone help with the "if statement". Cheers, Enda.

  • Restoring a switch after a swapout

    Hello all I'm looking to update our documentation on MDS9000 switch recovery - specifically replacing the whole switch after an swapout. The MDS cookbook has a procedure for replacing one but makes no mention of what to do differently if the switch i

  • Intel imac: cd does not load?

    Hello, My Intel iMac (about 3 years old) runs latest version of Snow Leopard.  It used to recognize CDs.  For some time now when a music CD is loaded, it tries to read the CD, fails and ejects it.  There is no problem with DVDs and game CDs. Any help