php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3318 MKTIME
Submitted: 2000-01-26 10:23 UTC Modified: 2002-10-01 11:27 UTC
From: f dot cervenka at comcity dot de Assigned:
Status: Not a bug Package: Misbehaving function
PHP Version: 3.0.12 OS: linux (suse 2.0.36 / slackware 2
Private report: No CVE-ID: None
 [2000-01-26 10:23 UTC] f dot cervenka at comcity dot de
<?php 
	// Check out this sample...
	// ..mktime returns -1
	echo ( date ( "M-d-Y", mktime ( 2, 0, 0, 3, 26, 2000 ) ) . " ( should be 03-26-2000, 2:00am )<br>" );
	echo ( date ( "M-d-Y", mktime ( 2, 0, 0, 3, 25, 2001 ) ) . " ( should be 03-25-2001, 2:00am )<br>" );
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-06 06:28 UTC] sas at cvs dot php dot net
What does it output?
 [2002-10-01 11:27 UTC] hholzgra@php.net
daylight saving time ...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 04:01:28 2024 UTC