I am using php 4.3.2
I had to do the following to have my date show up correct
but I have to remember to change it bac on NOv 4th 2007 (yack!!!)

// echo date("F j, Y, g:i a"); //this line does what the next 3 line of code
do
                                       //except that the date is wron gby
1hour
  $today = getdate();
  $mydate = $today['month'] . " " . $today['mday'] . ", " . $today['year']
. ", " . ($today['hours'] + 1) . ":" . $today['minutes'] ;
  echo $mydate . "<br>\n";

I tried setting the time.zone but it did nothing and it complaint when I
tried
to use date_default_timezone_set() because that is a php 5 function

I need to find a better solution!!!

Thanks,

Néstor :-)*
*

On 3/12/07, Darian Anthony Patrick <[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Néstor,

There is an ini setting for timezone.  You may need to set that.

See this thread:
http://lists.nyphp.org/pipermail/talk/2007-February/021239.html

Darian

- --
Darian Anthony Patrick
Principal, Application Development
Criticode LLC
(215) 240-6566 Office
(866) 789-2992 Facsimile
Web:   http://criticode.com
Email: [EMAIL PROTECTED]
JID:   [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF9YwcKpzEXPWA4IcRAplBAKCOd2Rmx7bCVbYIiqzSs8RakGKhiACfYGjn
74SNReMKlKoJvp+7psOzJoc=
=TZYa
-----END PGP SIGNATURE-----
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to