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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: f dot cervenka at comcity dot de
New email:
PHP Version: OS:

 

 [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: Fri Mar 29 00:01:28 2024 UTC