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. Advertisements

  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. Advertisements

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:
    1,189
    Dan Bishop
    Jan 26, 2004
  2. Replies:
    8
    Views:
    770
    Magnus Lycka
    Aug 5, 2005
  3. flamesrock
    Replies:
    8
    Views:
    818
    Hendrik van Rooyen
    Nov 24, 2006
  4. Ro
    Replies:
    3
    Views:
    488
    Lawrence Kirby
    Jan 26, 2005
  5. Summu82
    Replies:
    5
    Views:
    1,139
    Richard Heathfield
    Jun 7, 2006
  6. Replies:
    1
    Views:
    1,024
    Paul Boddie
    Mar 11, 2007
  7. Ron Adam

    time.time or time.clock

    Ron Adam, Jan 13, 2008, in forum: Python
    Replies:
    9
    Views:
    558
    John Machin
    Jan 14, 2008
  8. Replies:
    2
    Views:
    642
Loading...