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