Professional Web Applications Themes

Timezone conversion - PERL Beginners

can someone give me ideas of how I could covert this date and time stamp that is in GMT to Central time ? 2004-04-01-19:15:15.525+00:00 Thanks --...

  1. #1

    Default Timezone conversion

    can someone give me ideas of how I could covert this date and time stamp
    that is in GMT to Central time ?

    2004-04-01-19:15:15.525+00:00

    Thanks

    --

    Distribution Guest

  2. #2

    Default Timezone conversion


    can someone give me ideas of how I could convert this date and time stamp
    that is in GMT to Central time ?

    2004-04-01-19:15:15.525+00:00

    Thanks

    --




    --

    Distribution Guest

  3. #3

    Default Re: Timezone conversion

    Distribution Lists wrote:
     

    Yes. You can. Look at a map of time zones, or check the offest on any message
    that is dataed by central time, and correct the hours figure by the amount
    specified.

    BTW--humans, who have names, get much more ready responses than phantoms and
    trolls, who do not.

    Joseph

    R. Guest

  4. #4

    Default Re: Timezone conversion

    In a message dated 4/2/2004 3:20:12 AM Eastern Standard Time,
    com writes: 

    In the above case, it would be fine to just subtract the hour offset between
    GMT and CST. But, that really isn't a complete solution as if it is say 1 AM
    GMT, it is a different day CST. Your best bet is to either make it yourself
    (IMHO, reinventing the wheel can be quite enjoyable, and almost definetly more
    suitable for your needs. Plus in Perl this could be really fun to make your own
    date objects and overdriving some stuff.) or to use a cool module
    (Date::Object is what I'd use).


    -will
    (the above message is double rot13 encoded for security reasons)

    Most Useful Perl Modules
    -strict
    -warnings
    -Devel::DProf
    -Benchmark
    -B::Dep
    -Data::Dumper
    -Clone (a Godsend)
    -Perl::Tidy
    -Beautifier
    WilliamGunther@aol.com Guest

Similar Threads

  1. support for timezone / DST
    By in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: May 4th, 07:54 PM
  2. #40932 [NEW]: Timezone ignored
    By chrisw in forum PHP Bugs
    Replies: 3
    Last Post: March 28th, 08:50 AM
  3. Timezone / now() function
    By Zach_Stone in forum Coldfusion - Advanced Techniques
    Replies: 3
    Last Post: June 3rd, 07:36 AM
  4. timezone in javascript
    By Christopher Brandsdal in forum ASP
    Replies: 2
    Last Post: August 20th, 03:16 PM
  5. Timezone with MSSQL/IIS/ASP
    By Bjørn H. Hanto in forum ASP Database
    Replies: 0
    Last Post: July 6th, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139