php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18087 Time coversion
Submitted: 2002-07-01 08:12 UTC Modified: 2002-07-01 08:18 UTC
From: ctyroky at urm dot mepnet dot cz Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4.1.2 OS: Win 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ctyroky at urm dot mepnet dot cz
New email:
PHP Version: OS:

 

 [2002-07-01 08:12 UTC] ctyroky at urm dot mepnet dot cz
There is 84600 second in a day. Why in PHP there is 90000 seconds every 27. October? I store the date as a number and when I want to add one day by adding 84600 seconds it works all days in a year except for each 27.10. It does not make sense to me.

Thank you

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 08:16 UTC] ctyroky at urm dot mepnet dot cz
Sorry. Not 84600 but 86400.
 [2002-07-01 08:18 UTC] derick@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

This is daylight savings time / summer time, use gmmktime instead.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC