Loading ...
Sorry, an error occurred while loading the content.

mysql timestamp management

Expand Messages
  • xkorakidis
    basika exw ena column orismeno ws timestamp k den kserw pws na to xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw tipota. i timi pou
    Message 1 of 10 , Jan 29, 2006
    • 0 Attachment
      basika exw ena column orismeno ws timestamp k den kserw pws na to
      xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
      tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
      otan ti fernw stin php me date() moy fernei tin megalyteri dynati
      (kati tis xronias 2038 nomizw)
      kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
      thanks!
    • gfx3D
      To 20060129213253 einai : 2006-01-29-21-32-53, diladi 29/Ian/2006, wra 21:32:53, diladi 1 wra peripoy prin steileis to mail :) Ena aplo parsing na kaneis,
      Message 2 of 10 , Jan 29, 2006
      • 0 Attachment
        To 20060129213253 einai :
        2006-01-29-21-32-53,
        diladi 29/Ian/2006, wra 21:32:53,
        diladi 1 wra peripoy prin steileis to mail :)
         
        Ena aplo parsing na kaneis, teleiwses.
        An den to fereis me date kai to pareis ws string, yparxei problima ?
         
        Dimitris Botsis
        ----- Original Message -----
        Sent: Sunday, January 29, 2006 10:29 PM
        Subject: [php_greek] mysql timestamp management

        basika exw ena column orismeno ws timestamp k den kserw pws na to
        xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
        tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
        otan ti fernw stin php me date() moy fernei tin megalyteri dynati
        (kati tis xronias 2038 nomizw)
        kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
        thanks!




        No virus found in this incoming message.
        Checked by AVG Free Edition.
        Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 27/1/2006
      • anna markopoulos
        HI! can you right in english. I am GREEK but cant right greek and read greek, I am greek family is from KEFALONIA ok thank you yaya1951 bye060129213253
        Message 3 of 10 , Jan 29, 2006
        • 0 Attachment
          HI! can you right in english.   I am GREEK but cant right greek and read greek, I am greek  family is  from KEFALONIA ok  thank you   yaya1951
           bye060129213253 einai :
          2006-01-29-21-32-53,
          diladi 29/Ian/2006, wra 21:32:53,
          diladi 1 wra peripoy prin steileis to mail :)
           
          Ena aplo parsing na kaneis, teleiwses.
          An den to fereis me date kai to pareis ws string, yparxei problima ?
           
          Dimitris Botsis
          ----- Original Message -----
          Sent: Sunday, January 29, 2006 10:29 PM
          Subject: [php_greek] mysql timestamp management

          basika exw ena column orismeno ws timestamp k den kserw pws na to
          xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
          tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
          otan ti fernw stin php me date() moy fernei tin megalyteri dynati
          (kati tis xronias 2038 nomizw)
          kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
          thanks!




          No virus found in this incoming message.
          Checked by AVG Free Edition.
          Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 27/1/2006


          Do you Yahoo!?
          With a free 1 GB, there's more in store with Yahoo! Mail.

        • anna markopoulos
          can you right in english pls can not read GREEK I AM GREEK OK BYE anna markopoulos wrote: HI! can you right in english. I am
          Message 4 of 10 , Jan 29, 2006
          • 0 Attachment
            can you right in english pls  can not read  GREEK    I AM GREEK  OK
             BYE

            anna markopoulos <yaya1951us@...> wrote:
            HI! can you right in english.   I am GREEK but cant right greek and read greek, I am greek  family is  from KEFALONIA ok  thank you   yaya1951
             bye060129213253 einai :
            2006-01-29-21-32-53,
            diladi 29/Ian/2006, wra 21:32:53,
            diladi 1 wra peripoy prin steileis to mail :)
             
            Ena aplo parsing na kaneis, teleiwses.
            An den to fereis me date kai to pareis ws string, yparxei problima ?
             
            Dimitris Botsis
            ----- Original Message -----
            Sent: Sunday, January 29, 2006 10:29 PM
            Subject: [php_greek] mysql timestamp management

            basika exw ena column orismeno ws timestamp k den kserw pws na to
            xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
            tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
            otan ti fernw stin php me date() moy fernei tin megalyteri dynati
            (kati tis xronias 2038 nomizw)
            kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
            thanks!




            No virus found in this incoming message.
            Checked by AVG Free Edition.
            Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 27/1/2006


            Do you Yahoo!?
            With a free 1 GB, there's more in store with Yahoo! Mail.



            What are the most popular cars? Find out at Yahoo! Autos

          • anna markopoulos
            sorry can read all that you right so bye yaya anna markopoulos wrote: can you right in english pls can not read GREEK I AM
            Message 5 of 10 , Jan 29, 2006
            • 0 Attachment
              sorry can read  all that you right so bye   yaya
              anna markopoulos <yaya1951us@...> wrote:
              can you right in english pls  can not read  GREEK    I AM GREEK  OK
               BYE

              anna markopoulos <yaya1951us@...> wrote:
              HI! can you right in english.   I am GREEK but cant right greek and read greek, I am greek  family is  from KEFALONIA ok  thank you   yaya1951
               bye060129213253 einai :
              2006-01-29-21-32-53,
              diladi 29/Ian/2006, wra 21:32:53,
              diladi 1 wra peripoy prin steileis to mail :)
               
              Ena aplo parsing na kaneis, teleiwses.
              An den to fereis me date kai to pareis ws string, yparxei problima ?
               
              Dimitris Botsis
              ----- Original Message -----
              Sent: Sunday, January 29, 2006 10:29 PM
              Subject: [php_greek] mysql timestamp management

              basika exw ena column orismeno ws timestamp k den kserw pws na to
              xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
              tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
              otan ti fernw stin php me date() moy fernei tin megalyteri dynati
              (kati tis xronias 2038 nomizw)
              kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
              thanks!




              No virus found in this incoming message.
              Checked by AVG Free Edition.
              Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 27/1/2006


              Do you Yahoo!?
              With a free 1 GB, there's more in store with Yahoo! Mail.



              What are the most popular cars? Find out at Yahoo! Autos



              What are the most popular cars? Find out at Yahoo! Autos

            • xkorakidis
              basika mporw na to parw san string, afto to makaroni pou egrapsa to emfaniza an prospa8ousa na emfanisw to pedio opws ir8e apo select. otan les parsing
              Message 6 of 10 , Jan 31, 2006
              • 0 Attachment
                basika mporw na to parw san string, afto to "makaroni" pou egrapsa to
                emfaniza an prospa8ousa na emfanisw to pedio opws ir8e apo select.
                otan les parsing ennoeis na xrisimopoiisw kapoia etoimi endexomenws
                synartisi i na to kanw xeirokeinita?
                mou esteile enas synadelfos mia synartisoula pou "pairnei to
                maxairaki" k kobei kommati kommati to string, xrisimopoiei ti mktime k
                meta mia date k eftiakse tin imerominia:

                function xlate_datetime($in_field, $in_format)
                {
                // 2005-10-02 18:05:52
                // 0123456789012345678

                $year = substr( $in_field, 0, 4 );
                $month = substr( $in_field, 5, 2 );
                $day = substr( $in_field, 8, 2 );
                $hour = substr( $in_field, 11, 2 );
                $min = substr( $in_field, 14, 2 );
                $sec = substr( $in_field, 17, 2 );
                $t = mktime( $hour, $min, $sec, $month, $day, $year );

                if ( $in_field == "0000-00-00 00:00:00" )
                return "";
                else
                return (date($in_format, $t));
                }


                --- In php_greek@yahoogroups.com, "gfx3D" <gfx3d@y...> wrote:
                >
                > To 20060129213253 einai :
                > 2006-01-29-21-32-53,
                > diladi 29/Ian/2006, wra 21:32:53,
                > diladi 1 wra peripoy prin steileis to mail :)
                >
                > Ena aplo parsing na kaneis, teleiwses.
                > An den to fereis me date kai to pareis ws string, yparxei problima ?
                >
                > Dimitris Botsis
                > ----- Original Message -----
                > From: xkorakidis
                > To: php_greek@yahoogroups.com
                > Sent: Sunday, January 29, 2006 10:29 PM
                > Subject: [php_greek] mysql timestamp management
                >
                >
                > basika exw ena column orismeno ws timestamp k den kserw pws na to
                > xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
                > tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
                > otan ti fernw stin php me date() moy fernei tin megalyteri dynati
                > (kati tis xronias 2038 nomizw)
                > kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
                > thanks!
                >
                >
                >
                >
                >
                > --
                > ÅëëçíéêÞ PHP mailing list
                >
                >
                >
                > SPONSORED LINKS Greek t shirt Greek clothing Learn greek
                > Greek book Greek Php mysql
                >
                >
                >
                ------------------------------------------------------------------------------
                > YAHOO! GROUPS LINKS
                >
                > a.. Visit your group "php_greek" on the web.
                >
                > b.. To unsubscribe from this group, send an email to:
                > php_greek-unsubscribe@yahoogroups.com
                >
                > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
                Service.
                >
                >
                >
                ------------------------------------------------------------------------------
                >
                >
                >
                >
                >
                ------------------------------------------------------------------------------
                >
                >
                > No virus found in this incoming message.
                > Checked by AVG Free Edition.
                > Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date:
                27/1/2006
                >
              • xkorakidis
                anna I think you should learn! It is a great language and I think that is easy for you to learn due to the fact that your family is from Kefallonia. Sorry for
                Message 7 of 10 , Jan 31, 2006
                • 0 Attachment
                  anna I think you should learn! It is a great language and I think that
                  is easy for you to learn due to the fact that your family is from
                  Kefallonia. Sorry for my english, I'm trying to improove it...
                  so:
                  I tried to show in php a timestamp column which is smth like
                  20060129213253.
                  It seems easier than I thought. As other people wrote, I have to
                  truncate the string and to make manually the datetime value.

                  Thanks anyway!

                  --- In php_greek@yahoogroups.com, anna markopoulos <yaya1951us@y...>
                  wrote:
                  >
                  > sorry can read all that you right so bye yaya
                  > anna markopoulos <yaya1951us@y...> wrote: can you right in
                  english pls can not read GREEK I AM GREEK OK
                  > BYE
                  >
                  > anna markopoulos <yaya1951us@y...> wrote:
                  > HI! can you right in english. I am GREEK but cant right greek
                  and read greek, I am greek family is from KEFALONIA ok thank you
                  yaya1951
                  > bye060129213253 einai :
                  > 2006-01-29-21-32-53,
                  > diladi 29/Ian/2006, wra 21:32:53,
                  > diladi 1 wra peripoy prin steileis to mail :)
                  >
                  > Ena aplo parsing na kaneis, teleiwses.
                  > An den to fereis me date kai to pareis ws string, yparxei problima ?
                  >
                  > Dimitris Botsis
                  > ----- Original Message -----
                  > From: xkorakidis
                  > To: php_greek@yahoogroups.com
                  > Sent: Sunday, January 29, 2006 10:29 PM
                  > Subject: [php_greek] mysql timestamp management
                  >
                  >
                  > basika exw ena column orismeno ws timestamp k den kserw pws na to
                  > xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
                  > tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
                  > otan ti fernw stin php me date() moy fernei tin megalyteri dynati
                  > (kati tis xronias 2038 nomizw)
                  > kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
                  > thanks!
                  >
                  >
                  >
                  >
                  > ---------------------------------
                  >
                  > No virus found in this incoming message.
                  > Checked by AVG Free Edition.
                  > Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date:
                  27/1/2006
                  >
                  >
                  >
                  > ---------------------------------
                  > Do you Yahoo!?
                  > With a free 1 GB, there's more in store with Yahoo! Mail.
                  >
                  >
                  > ---------------------------------
                  >
                  > What are the most popular cars? Find out at Yahoo! Autos
                  >
                  > --
                  > ÅëëçíéêÞ PHP mailing list
                  >
                  >
                  >
                  > SPONSORED LINKS
                  > Greek t shirt Greek clothing Learn greek Greek book
                  Greek Php mysql
                  >
                  > ---------------------------------
                  > YAHOO! GROUPS LINKS
                  >
                  >
                  > Visit your group "php_greek" on the web.
                  >
                  > To unsubscribe from this group, send an email to:
                  > php_greek-unsubscribe@yahoogroups.com
                  >
                  > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
                  Service.
                  >
                  >
                  > ---------------------------------
                  >
                  >
                  >
                  >
                  >
                  > ---------------------------------
                  >
                  > What are the most popular cars? Find out at Yahoo! Autos
                  >
                • gfx3D
                  Eides poso aplo einai ? Parsing ennow ayto poy esteile o filos soy. Parsing genika einai h me8odos kata tin opoia analyeis ena string h genikotera kati, wste
                  Message 8 of 10 , Jan 31, 2006
                  • 0 Attachment
                    Eides poso aplo einai ?
                    Parsing ennow ayto poy esteile o filos soy.
                    Parsing genika einai h me8odos kata tin opoia analyeis ena string h genikotera kati, wste na to xrisimopoiiseis opws soy 8eleis.
                    Parser, einai to programma H' i synartisi (genika i mixani) poy kanei ayti tin douleia.
                    Kali epityxia.
                    ----- Original Message -----
                    Sent: Tuesday, January 31, 2006 10:32 AM
                    Subject: [php_greek] Re: mysql timestamp management

                    basika mporw na to parw san string, afto to "makaroni" pou egrapsa to
                    emfaniza an prospa8ousa na emfanisw to pedio opws ir8e apo select.
                    otan les parsing ennoeis na xrisimopoiisw kapoia etoimi endexomenws
                    synartisi i na to kanw xeirokeinita?
                    mou esteile enas synadelfos mia synartisoula pou "pairnei to
                    maxairaki" k kobei kommati kommati to string, xrisimopoiei ti mktime k
                    meta mia date k eftiakse tin imerominia:

                    function      xlate_datetime($in_field, $in_format)
                    {
                          // 2005-10-02 18:05:52
                          // 0123456789012345678

                          $year      = substr( $in_field,  0, 4 );
                          $month      = substr( $in_field,  5, 2 );
                          $day      = substr( $in_field,  8, 2 );
                          $hour      = substr( $in_field, 11, 2 );
                          $min      = substr( $in_field, 14, 2 );
                          $sec      = substr( $in_field, 17, 2 );
                          $t            = mktime( $hour, $min, $sec, $month, $day, $year );

                          if ( $in_field == "0000-00-00 00:00:00" )
                                return "";
                          else
                                return (date($in_format, $t));
                    }


                    --- In php_greek@yahoogroups.com, "gfx3D" <gfx3d@y...> wrote:
                    >
                    > To 20060129213253 einai :
                    > 2006-01-29-21-32-53,
                    > diladi 29/Ian/2006, wra 21:32:53,
                    > diladi 1 wra peripoy prin steileis to mail :)
                    >
                    > Ena aplo parsing na kaneis, teleiwses.
                    > An den to fereis me date kai to pareis ws string, yparxei problima ?
                    >
                    > Dimitris Botsis
                    >   ----- Original Message -----
                    >   From: xkorakidis
                    >   To: php_greek@yahoogroups.com
                    >   Sent: Sunday, January 29, 2006 10:29 PM
                    >   Subject: [php_greek] mysql timestamp management
                    >
                    >
                    >   basika exw ena column orismeno ws timestamp k den kserw pws na to
                    >   xeiristw apo tin php. otan kanw insert sto syggekrimeno pedio de bazw
                    >   tipota. i timi pou mpainei ston pinaka einai kati styl 20060129213253
                    >   otan ti fernw stin php me date() moy fernei tin megalyteri dynati
                    >   (kati tis xronias 2038 nomizw)
                    >   kserei kaneis pws mporw na ti xeiristw wste na emfanistei i swsti?
                    >   thanks!
                    >
                    >
                    >
                    >
                    >
                    >   --
                    >   ÅëëçíéêÞ PHP mailing list
                    >
                    >
                    >
                    >   SPONSORED LINKS Greek t shirt  Greek clothing  Learn greek 
                    >         Greek book  Greek  Php mysql 
                    >
                    >
                    >
                    ------------------------------------------------------------------------------
                    >   YAHOO! GROUPS LINKS
                    >
                    >     a..  Visit your group "php_greek" on the web.
                    >      
                    >     b..  To unsubscribe from this group, send an email to:
                    >      php_greek-unsubscribe@yahoogroups.com
                    >      
                    >     c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
                    Service.
                    >
                    >
                    >
                    ------------------------------------------------------------------------------
                    >
                    >
                    >
                    >
                    >
                    ------------------------------------------------------------------------------
                    >
                    >
                    >   No virus found in this incoming message.
                    >   Checked by AVG Free Edition.
                    >   Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date:
                    27/1/2006
                    >





                    No virus found in this incoming message.
                    Checked by AVG Free Edition.
                    Version: 7.1.375 / Virus Database: 267.14.25/246 - Release Date: 30/1/2006
                  • xristos korakidis
                    thanks man! have a nice day! ... ___________________________________________________________ ×ñçóéìïðïéåßôå Yahoo!; ÂáñåèÞêáôå ôá
                    Message 9 of 10 , Jan 31, 2006
                    • 0 Attachment
                      thanks man!
                      have a nice day!



                      --- gfx3D <gfx3d@...> έγραψε:

                      > Eides poso aplo einai ?
                      > Parsing ennow ayto poy esteile o filos soy.
                      > Parsing genika einai h me8odos kata tin opoia
                      > analyeis ena string h genikotera kati, wste na to
                      > xrisimopoiiseis opws soy 8eleis.
                      > Parser, einai to programma H' i synartisi (genika i
                      > mixani) poy kanei ayti tin douleia.
                      > Kali epityxia.
                      > ----- Original Message -----
                      > From: xkorakidis
                      > To: php_greek@yahoogroups.com
                      > Sent: Tuesday, January 31, 2006 10:32 AM
                      > Subject: [php_greek] Re: mysql timestamp
                      > management
                      >
                      >
                      > basika mporw na to parw san string, afto to
                      > "makaroni" pou egrapsa to
                      > emfaniza an prospa8ousa na emfanisw to pedio opws
                      > ir8e apo select.
                      > otan les parsing ennoeis na xrisimopoiisw kapoia
                      > etoimi endexomenws
                      > synartisi i na to kanw xeirokeinita?
                      > mou esteile enas synadelfos mia synartisoula pou
                      > "pairnei to
                      > maxairaki" k kobei kommati kommati to string,
                      > xrisimopoiei ti mktime k
                      > meta mia date k eftiakse tin imerominia:
                      >
                      > function xlate_datetime($in_field,
                      > $in_format)
                      > {
                      > // 2005-10-02 18:05:52
                      > // 0123456789012345678
                      >
                      > $year = substr( $in_field, 0, 4 );
                      > $month = substr( $in_field, 5, 2 );
                      > $day = substr( $in_field, 8, 2 );
                      > $hour = substr( $in_field, 11, 2 );
                      > $min = substr( $in_field, 14, 2 );
                      > $sec = substr( $in_field, 17, 2 );
                      > $t = mktime( $hour, $min, $sec,
                      > $month, $day, $year );
                      >
                      > if ( $in_field == "0000-00-00 00:00:00" )
                      > return "";
                      > else
                      > return (date($in_format, $t));
                      > }
                      >
                      >
                      > --- In php_greek@yahoogroups.com, "gfx3D"
                      > <gfx3d@y...> wrote:
                      > >
                      > > To 20060129213253 einai :
                      > > 2006-01-29-21-32-53,
                      > > diladi 29/Ian/2006, wra 21:32:53,
                      > > diladi 1 wra peripoy prin steileis to mail :)
                      > >
                      > > Ena aplo parsing na kaneis, teleiwses.
                      > > An den to fereis me date kai to pareis ws
                      > string, yparxei problima ?
                      > >
                      > > Dimitris Botsis
                      > > ----- Original Message -----
                      > > From: xkorakidis
                      > > To: php_greek@yahoogroups.com
                      > > Sent: Sunday, January 29, 2006 10:29 PM
                      > > Subject: [php_greek] mysql timestamp
                      > management
                      > >
                      > >
                      > > basika exw ena column orismeno ws timestamp k
                      > den kserw pws na to
                      > > xeiristw apo tin php. otan kanw insert sto
                      > syggekrimeno pedio de bazw
                      > > tipota. i timi pou mpainei ston pinaka einai
                      > kati styl 20060129213253
                      > > otan ti fernw stin php me date() moy fernei
                      > tin megalyteri dynati
                      > > (kati tis xronias 2038 nomizw)
                      > > kserei kaneis pws mporw na ti xeiristw wste na
                      > emfanistei i swsti?
                      > > thanks!
                      > >
                      > >
                      > >
                      > >
                      > >
                      > > --
                      > > Ελληνική PHP mailing list
                      > >
                      > >
                      > >
                      > > SPONSORED LINKS Greek t shirt Greek clothing
                      > Learn greek
                      > > Greek book Greek Php mysql
                      > >
                      > >
                      > >
                      >
                      >
                      ------------------------------------------------------------------------------
                      > > YAHOO! GROUPS LINKS
                      > >
                      > > a.. Visit your group "php_greek" on the
                      > web.
                      > >
                      > > b.. To unsubscribe from this group, send an
                      > email to:
                      > > php_greek-unsubscribe@yahoogroups.com
                      > >
                      > > c.. Your use of Yahoo! Groups is subject to
                      > the Yahoo! Terms of
                      > Service.
                      > >
                      > >
                      > >
                      >
                      >
                      ------------------------------------------------------------------------------
                      > >
                      > >
                      > >
                      > >
                      > >
                      >
                      >
                      ------------------------------------------------------------------------------
                      > >
                      > >
                      > > No virus found in this incoming message.
                      > > Checked by AVG Free Edition.
                      > > Version: 7.1.375 / Virus Database:
                      > 267.14.23/243 - Release Date:
                      > 27/1/2006
                      > >
                      >
                      >
                      >
                      >
                      >
                      >
                      > --
                      > Ελληνική PHP mailing list
                      >
                      >
                      >
                      >
                      ------------------------------------------------------------------------------
                      > YAHOO! GROUPS LINKS
                      >
                      > a.. Visit your group "php_greek" on the web.
                      >
                      > b.. To unsubscribe from this group, send an
                      > email to:
                      > php_greek-unsubscribe@yahoogroups.com
                      >
                      > c.. Your use of Yahoo! Groups is subject to the
                      > Yahoo! Terms of Service.
                      >
                      >
                      >
                      ------------------------------------------------------------------------------
                      >
                      >
                      >
                      >
                      >
                      ------------------------------------------------------------------------------
                      >
                      >
                      > No virus found in this incoming message.
                      > Checked by AVG Free Edition.
                      > Version: 7.1.375 / Virus Database: 267.14.25/246 -
                      > Release Date: 30/1/2006
                      >







                      ___________________________________________________________
                      Χρησιμοποιείτε Yahoo!;
                      Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
                      διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
                      μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
                    • Παπάζογλου Παναγιώτης
                      Αυτό που χρησιμοποιώ εγώ είναι το εξής: Λαμβάνω την ημερομηνία από τη βάση στη μορφή:
                      Message 10 of 10 , Feb 27, 2006
                      • 0 Attachment
                        Αυτό που χρησιμοποιώ εγώ είναι το εξής:
                        Λαμβάνω την ημερομηνία από τη βάση στη μορφή:
                        DATE_FORMAT(t_timestamp,'%e/%c/%Y')
                        όπου t_timestamp το όνομα της στήλης μέσα στον πίνακά σου.
                        Δημιουργήσα ένα array με τους μήνες ως εξής:
                        $mines = array
                        (1=>"Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου"
                        ,"Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρ
                        ίου");
                        Μετά εκεί που ήθελα να βάλω την ημερομηνία π.χ. στη μορφή:
                        28η Φεβρουαρίου 2006 το έκανα ως εξής:
                        while ($result_row = mysql_fetch_array($result)) {$neues_datum =
                        preg_split ('/\//',$result_row[2]);
                        $m_day = $new_datum[0];
                        $m_month = $mines[$new_datum[1]];
                        $m_year = $new_datum[2];
                        και μέσα στο κείμενο για να εμφανιστεί το γράφω ως εξής:
                        $m_day."η ".$m_month." ".$m_year
                        Καλό βράδυ!
                        :)
                      Your message has been successfully submitted and would be delivered to recipients shortly.