public function testHttpDate() { $this->assertSame('Sat, 12 Jan 1985 12:34:56 GMT', DAV::httpDate(474381296), 'DAV::httpDate() should return the right date string'); }
/** * Gets the getlastmodified property in an XML ready format for webDAV * * @return string XML */ public final function prop_getlastmodified() { if (is_null($tmp = $this->user_prop_getlastmodified())) { return null; } return DAV::xmlescape(DAV::httpDate($tmp)); }