WC_DateTime::__toString()
Output an ISO 8601 date string in local (WordPress) timezone.
Method of the class: WC_DateTime{}
No Hooks.
Return
String
.
Usage
$WC_DateTime = new WC_DateTime(); $WC_DateTime->__toString();
Changelog
Since 3.0.0 | Introduced. |
WC_DateTime::__toString() WC DateTime:: toString code WC 9.7.1
public function __toString() { return $this->format( DATE_ATOM ); }