Time Conversion

Discussion in 'Perl Misc' started by eswms@alltel.net, Mar 11, 2005.

  1. Guest

    My Oracle (9i) (OS = Solaris 9) DB uses Unix time for most of its time
    recording. Is there a way to, within Perl, translate Unix times to
    Universal times when I display the input?

    i.e. `echo "select date_time_created from dosr_study" | isql -St >
    time`;

    The time returned from the DB is Unix...Can I take that value and
    display in UTC?

    Thanks In Advance,

    Scripter
     
    , Mar 11, 2005
    #1
    1. Advertising

  2. <> wrote:

    > Is there a way to, within Perl, translate Unix times to
    > Universal times



    Doesn't that get you to wondering if Perl might have a
    function named "time"?

    perldoc -f time

    Mentions other time functions in Perl, read about them too.


    --
    Tad McClellan SGML consulting
    Perl programming
    Fort Worth, Texas
     
    Tad McClellan, Mar 11, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. engsol
    Replies:
    2
    Views:
    956
    Dan Bishop
    Jan 26, 2004
  2. Replies:
    8
    Views:
    479
    Magnus Lycka
    Aug 5, 2005
  3. Peter Hansen
    Replies:
    0
    Views:
    718
    Peter Hansen
    Feb 22, 2006
  4. flamesrock
    Replies:
    8
    Views:
    478
    Hendrik van Rooyen
    Nov 24, 2006
  5. Replies:
    2
    Views:
    517
Loading...

Share This Page