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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
9 + 19 = ?
Subscribe to this entry?

 
 [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-2019 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 06:01:29 2019 UTC