[wp-trac] Re: [WordPress Trac] #9588: time() is not GMT time()

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 22:27:51 GMT 2009


#9588: time() is not GMT time()
---------------------------------------+------------------------------------
 Reporter:  Denis-de-Bernardy          |        Type:  defect (bug)
   Status:  new                        |    Priority:  normal      
Milestone:  2.9                        |   Component:  Date/Time   
  Version:  2.8                        |    Severity:  normal      
 Keywords:  needs-patch needs-testing  |  
---------------------------------------+------------------------------------

Comment(by ryan):

 Testing on various servers and always getting GMT for time().  According
 to PHP docs, time():

 {{{
 Returns the current time measured in the number of seconds since the Unix
 Epoch (January 1 1970 00:00:00 GMT).
 }}}

 The timestamp is relative to GMT so it is indeed GMT.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9588#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list