ID:               37650
 User updated by:  martin at whitewallweb dot com
 Reported By:      martin at whitewallweb dot com
-Status:           Bogus
+Status:           Closed
 Bug Type:         Date/time related
 Operating System: Windows XP
 PHP Version:      5.0.3
 New Comment:

Thanx will update now.


Previous Comments:
------------------------------------------------------------------------

[2006-05-31 09:13:51] [EMAIL PROTECTED]

Script is:
[EMAIL PROTECTED]:/tmp$ cat bug37650.php
<?php
date_default_timezone_set( 'Europe/Athens' );
echo date('d m Y T',mktime(0, 0, 0, 6, 20, 1948)), "\n";
echo date('d m Y T',mktime(0, 0, 0, 6, 03, 1944)), "\n";
echo date('d m Y T',mktime(0, 0, 0, 6, 19, 1960)), "\n";
echo date('d m Y T',mktime(0, 0, 0, 6, 28, 1956)), "\n";
echo date('d m Y T',mktime(0, 0, 0, 8, 31, 1952)), "\n";
echo date('d m Y T',mktime(0, 0, 0, 5, 27, 1960)), "\n";
echo date('d m Y T',mktime(0, 0, 0, 7, 31, 1960)), "\n";
?>


------------------------------------------------------------------------

[2006-05-31 09:13:31] [EMAIL PROTECTED]

And yes, it is working for me with 5.1.4:

[EMAIL PROTECTED]:/tmp$ php bug37650.php
20 06 1948 EET
03 06 1944 EET
19 06 1960 EET
28 06 1956 EET
31 08 1952 EEST
27 05 1960 EET
31 07 1960 EET


------------------------------------------------------------------------

[2006-05-31 09:10:44] [EMAIL PROTECTED]

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.



------------------------------------------------------------------------

[2006-05-31 08:51:01] martin at whitewallweb dot com

My apologies, Noticed I selected the wrong PHP version,Using 5.0.3.
date_default_timezone_get() does not exist. (Local time is +2
GMT(athenes)).Is there an alternative function I should call for this
information? 

Has this been sorted out in 5.1.4?

------------------------------------------------------------------------

[2006-05-31 08:36:53] [EMAIL PROTECTED]

Hei,

what does:

echo date_default_timezone_get(), "\n";

show in that same script?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37650

-- 
Edit this bug report at http://bugs.php.net/?id=37650&edit=1

Reply via email to