FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » strtotime
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
strtotime [message #175209] Wed, 24 August 2011 02:09 Go to previous message
BKDotCom is currently offline  BKDotCom
Messages: 7
Registered: October 2010
Karma:
Junior Member
Can anyone explain this to me:

shouldn't these to both return the same timestamp?

$ts = 1204351200;
strtotime('+1 month',$ts); // returns 1207026000
strtotime('@'.$ts.' +1 month')); // returns 1207029600... where's the
extra 1 hour coming from?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: different servers, different results with a file upload
Next Topic: "><script>alert('ss')</script>
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 02:34:05 GMT 2024

Total time taken to generate the page: 0.07232 seconds