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
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:
29 - 21 = ?
Subscribe to this entry?

 
 [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: Sun May 05 07:01:32 2024 UTC