Timezone Conversions - URGENT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • madan9999
    New Member
    • Oct 2006
    • 2

    Timezone Conversions - URGENT

    Hi all,

    i have a doubt regarding time conversions between different timezones.

    say presently i have a Time which is to be converted from 'PST' to 'UTC'

    and the same with others say 'PST/PDT,MST/MDT,EST/EDT' to UTC.

    can this be done with any oracle functions, please post me the sql statements if any of u have.

    thnx in advance
  • arg
    New Member
    • Oct 2006
    • 11

    #2
    I think NEW_TIME is the function you are looking for. Which version of oracle?
    http://www.stanford.ed u/dept/itss/docs/oracle/10g/server.101/b10749/ch4datetime.htm


    Originally posted by madan9999
    Hi all,

    i have a doubt regarding time conversions between different timezones.

    say presently i have a Time which is to be converted from 'PST' to 'UTC'

    and the same with others say 'PST/PDT,MST/MDT,EST/EDT' to UTC.

    can this be done with any oracle functions, please post me the sql statements if any of u have.

    thnx in advance

    Comment

    • madan9999
      New Member
      • Oct 2006
      • 2

      #3
      I am using Oracle 9i,

      can we specify directly say i have 'PST' time, now convert it to 'UTC'...

      can this be done in sql statements?

      Comment

      • saravanankm
        New Member
        • Jul 2006
        • 47

        #4
        Hi

        Try This May help U!
        UTC Time Zone Same as GMT time Zone.

        select to_char(new_tim e(sysdate,'PST' , 'GMT'), 'MM/DD/YY HH:MI AM') FROM dual;


        With Regards,
        Captain

        Comment

        • saravanankm
          New Member
          • Jul 2006
          • 47

          #5
          Hi

          If U Want More Information to visit this site helpfull for Date Functions.

          http://www.unix.org.ua/orelly/oracle/prog2/ch12_02.htm

          With Regards,
          Captain

          Comment

          • SDBA
            New Member
            • Oct 2006
            • 5

            #6
            Hi,

            Try using the following link...
            n our increasingly interconnected world, it’s more and more important for code to be able to handle time zones gracefully. For example, if call centers in Bangalore and London use the same call center application, then the code that writes call logs to the database will have to be time zone aware?a call time recorded […]


            This cud help you...

            SDBA

            Comment

            Working...