WC_DateTime::__toString
Output an ISO 8601 date string in local (WordPress) timezone.
Метод класса: WC_DateTime{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_DateTime = new WC_DateTime(); $WC_DateTime->__toString();
Список изменений
| С версии 3.0.0 | Введена. |
Код WC_DateTime::__toString() WC DateTime:: toString WC 10.9.4
public function __toString() {
return $this->format( DATE_ATOM );
}