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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 12:01:28 2025 UTC