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 10.6.2
public function __toString() {
return $this->format( DATE_ATOM );
}