public static function fromDefault() { return new static(new StringLiteral(date_default_timezone_get())); }
/** * Returns a DateTimeWithTimeZone object using current DateTime and default TimeZone * * @return DateTimeWithTimeZone */ public static function now() { return new static(DateTime::now(), TimeZone::fromDefault()); }