date.timezone = 'UCT' in php.ini not working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • damezumari

    date.timezone = 'UCT' in php.ini not working

    The server I use has PHP Version 4.4.7 and this instruction creates an
    error:

    <?php date_default_ti mezone_set('UCT '); echo date('h:ia');?>

    php Help advises me to change php.ini instead:

    date.timezone = 'UCT'

    However, when I do the time shown seems to be that of the server, not
    of UCT.

    What am I doing wrong?

    Regards,

    Jan Nordgreen

  • Toby A Inkster

    #2
    Re: date.timezone = 'UCT' in php.ini not working

    damezumari wrote:
    However, when I do the time shown seems to be that of the server, not
    of UCT.
    What is UCT? Do you mean UTC?

    --
    Toby A Inkster BSc (Hons) ARCS
    [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
    [OS: Linux 2.6.12-12mdksmp, up 19 days, 15:08.]

    demiblog 0.2.0 Released

    Comment

    • damezumari

      #3
      Re: date.timezone = 'UCT' in php.ini not working

      Thanks!

      Comment

      • clive@notindia.ninfo

        #4
        Re: date.timezone = 'UCT' in php.ini not working


        What is UTC ?

        Comment

        • Michael Fesser

          #5
          Re: date.timezone = 'UCT' in php.ini not working

          ..oO(clive@noti ndia.ninfo)
          >What is UTC ?



          Micha

          Comment

          • clive@notindia.info

            #6
            Re: date.timezone = 'UCT' in php.ini not working

            In article <h5hd93plmd6rgr j0udjklodij1o1k snvvp@4ax.com>, netizen@gmx.de
            says...
            .oO(clive@notin dia.ninfo)
            >
            What is UTC ?
            >
            E is a British gas and electricity supplier with low prices, loyalty credit, no exit fees and a UK call centre

            http://www./search?q=utc
            >
            Micha
            >
            I asked for an answer here not for a bunch of advertising
            for websites.

            Comment

            • Michael Fesser

              #7
              Re: date.timezone = 'UCT' in php.ini not working

              ..oO(clive@noti ndia.info)
              >In article <h5hd93plmd6rgr j0udjklodij1o1k snvvp@4ax.com>, netizen@gmx.de
              >says...>
              >I asked for an answer here not for a bunch of advertising
              >for websites.
              *LOL* You're kidding, aren't you? The links I posted would have given
              you tons of answers and detailed explanations.

              You should always try to search for an answer yourself before posting in
              a newsgroup. That way you'll get an answer _much_ faster in many cases.
              Learn how to use a search engine and Wikipedia.

              Micha

              Comment

              • Jerry Stuckle

                #8
                Re: date.timezone = 'UCT' in php.ini not working

                clive@notindia. info wrote:
                In article <h5hd93plmd6rgr j0udjklodij1o1k snvvp@4ax.com>, netizen@gmx.de
                says...
                >.oO(clive@noti ndia.ninfo)
                >>
                >>What is UTC ?
                >http://e.org/wiki/UTC
                >http://www./search?q=utc
                >>
                >Micha
                >>
                >
                I asked for an answer here not for a bunch of advertising
                for websites.
                No, he's telling you to look up the answer. It's very easy to find.

                Before asking here you should at least TRY to find the answer on your
                own. We aren't being paid to be your personal answer machines.

                --
                =============== ===
                Remove the "x" from my email address
                Jerry Stuckle
                JDS Computer Training Corp.
                jstucklex@attgl obal.net
                =============== ===

                Comment

                • clive@notindia.info

                  #9
                  Re: date.timezone = 'UCT' in php.ini not working

                  In article <bvnd931evs9ikb 1is6i2a7h4lvmp9 s80sj@4ax.com>, netizen@gmx.de
                  says...
                  .oO(clive@notin dia.info)
                  >
                  In article <h5hd93plmd6rgr j0udjklodij1o1k snvvp@4ax.com>, netizen@gmx.de
                  says...
                  >
                  E is a British gas and electricity supplier with low prices, loyalty credit, no exit fees and a UK call centre

                  http://www./search?q=utc
                  I asked for an answer here not for a bunch of advertising
                  for websites.
                  >
                  *LOL* You're kidding, aren't you? The links I posted would have given
                  you tons of answers and detailed explanations.
                  >
                  You should always try to search for an answer yourself before posting in
                  a newsgroup. That way you'll get an answer _much_ faster in many cases.
                  Learn how to use a search engine and Wikipedia.
                  >
                  Micha
                  >
                  What is wrong with you newsgroup morons?

                  Doesnt it occur to you I might just have done that if I were able?

                  I asked in a newsgroup because I dont have WEB access at the moment.

                  Stop being a newsgroup smart arse and just answer the questions asked or
                  keep your idiot mouth shut.

                  Also this is not an advertising forum for commercial web sites - your
                  post contravenes the group charter.

                  Learn to answer the questions asked instead of making up your own half
                  witted ones to answer wasting everyones time.

                  Comment

                  • rf

                    #10
                    Re: date.timezone = 'UCT' in php.ini not working

                    <clive@notindia .infowrote in message
                    news:MPG.210114 031087cc189899c 2@news-text.blueyonder .co.uk...
                    In article <bvnd931evs9ikb 1is6i2a7h4lvmp9 s80sj@4ax.com>, netizen@gmx.de
                    says...
                    >.oO(clive@noti ndia.info)
                    >>
                    >In article <h5hd93plmd6rgr j0udjklodij1o1k snvvp@4ax.com>, netizen@gmx.de
                    >says...
                    >>
                    >http://e.org/wiki/UTC
                    >http://www./search?q=utc
                    >
                    >I asked for an answer here not for a bunch of advertising
                    >for websites.
                    >>
                    >*LOL* You're kidding, aren't you? The links I posted would have given
                    >you tons of answers and detailed explanations.
                    >>
                    >You should always try to search for an answer yourself before posting in
                    >a newsgroup. That way you'll get an answer _much_ faster in many cases.
                    >Learn how to use a search engine and Wikipedia.
                    >>
                    >Micha
                    >>
                    >
                    What is wrong with you newsgroup morons?
                    If you *really* don't know what UTC is then when you do find out, you are
                    also going to find out who the actual moron is.
                    Doesnt it occur to you I might just have done that if I were able?
                    No it didn't occur to us. You haven't told us yet. You haven't actually told
                    us anything, except that you are an arrogant bastard.
                    I asked in a newsgroup because I dont have WEB access at the moment.
                    Ah, so now we know. You have usenet access but not web access. What a
                    strange condition.

                    So trot down to the local library and use their computer. The amout of time
                    you have wasted already on this would have allowed you to drive to the next
                    states local library.
                    Stop being a newsgroup smart arse and just answer the questions asked or
                    keep your idiot mouth shut.
                    OK. I will keep my mouth shut on your answer. I do know the answer to your
                    trivial question. I however am not now going to tell *you*. Stop being an
                    arrogant bastard.
                    Also this is not an advertising forum for commercial web sites - your
                    post contravenes the group charter.
                    Har har har! Please dig up the groups charter and read it. Telling morons
                    where google groups is so they can answer their own trivial question is
                    probably the best thing to be done in this or any other newsgroup.
                    Learn to answer the questions asked instead of making up your own half
                    witted ones to answer wasting everyones time.
                    You obviously feel you did not get the service you required here. Why don't
                    you ask for your money back.

                    --
                    Richard.


                    Comment

                    • Toby A Inkster

                      #11
                      Re: date.timezone = 'UCT' in php.ini not working

                      clive wrote:
                      What is UTC ?
                      It's an bizarre compromise abbreviation created for what the English
                      wanted to call "CUT" and the French wanted to call "TUC".

                      Hope that helps.

                      --
                      Toby A Inkster BSc (Hons) ARCS
                      [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
                      [OS: Linux 2.6.12-12mdksmp, up 22 days, 13:27.]

                      demiblog 0.2.0 Released

                      Comment

                      • Michael Fesser

                        #12
                        Re: date.timezone = 'UCT' in php.ini not working

                        ..oO(clive@noti ndia.info)
                        >What is wrong with you newsgroup morons?
                        The question was answered in an appropriate way. Instead of giving a too
                        short and probably incorrect answer and instead of posting a two-hundred
                        lines sermon I just posted two references. That's common and efficient,
                        for both the poster and the reader.
                        >Doesnt it occur to you I might just have done that if I were able?
                        No. And calling the posted links "advertisements " indicates that you
                        wouldn't have been able at all, even with web access.
                        >I asked in a newsgroup because I dont have WEB access at the moment.
                        You didn't tell. Is this to be a stress test for our chrystal balls? A
                        short "please post here, I don't have web access ATM" would have been
                        _much_ better than your stupid insults. This is a free service, not a
                        helpdesk!
                        >Stop being a newsgroup smart arse and just answer the questions asked or
                        >keep your idiot mouth shut.
                        >
                        >Also this is not an advertising forum for commercial web sites
                        Wikipedia is commercial? Searching on Google is commercial? Oh dear.
                        >your
                        >post contravenes the group charter.
                        Did you look up the group charter? Do you even know what a charter is?
                        >Learn to answer the questions asked instead of making up your own half
                        >witted ones to answer wasting everyones time.
                        Please forgive me for having wasted my time with you.

                        *plonk*

                        EOT for me
                        Micha

                        Comment

                        Working...