PHP Classes

is this repimplementation of strtotime()

Recommend this page to a friend!

      Text to Timestamp  >  All threads  >  is this repimplementation of strtotime()  >  (Un) Subscribe thread alerts  
Subject:is this repimplementation of strtotime()
Summary:;]
Messages:2
Author:Alexander Skakunov
Date:2009-10-12 07:29:01
Update:2009-10-12 19:57:59
 

 


  1. is this repimplementation of strtotime()   Reply   Report abuse  
Picture of Alexander Skakunov Alexander Skakunov - 2009-10-12 07:29:01
Is this repimplementation of strtotime()?

strtotime('1 hour') gives you NOW + 1 hour.
strtotime('1 hour') gives you NOW - 1 hour.
strtotime('1 hour', 0) gives you just 3600 seconds.

  2. Re: is this repimplementation of strtotime()   Reply   Report abuse  
Picture of jacobheinz jacobheinz - 2009-10-12 19:57:59 - In reply to message 1 from Alexander Skakunov
I don't see any reason to use this, when strtotime() already exists.


 
For more information send a message to info at phpclasses dot org.