How to use to_char in Yii2?

SELECT to_char(events.date_start, 'MM') AS month_start
FROM "events"
 WHERE "event_id"=13;

how to create in ActiveRecord such a request are doing so.
Event::find()->select('to_char(events.date_start, \'MM\') AS month_start)->where(["event_id"=>13])->one()

ERROR: syntax error (approximate position: \"AS\")\nLINE 1: to_char(events.date_start, \"'MM')\" As

for some reason, appear not understandable" to MM and after )
March 19th 20 at 09:05
1 answer
March 19th 20 at 09:07
When an Expression object is embedded within a SQL statement or fragment, it will be replaced with the $expression property value without any DB escaping or quoting. For example,
$expression = new Expression('NOW()');
$now = (new \yii\db\Query)->select($expression)->scalar(); // SELECT NOW();
echo $now; // prints the current date

Find more questions by tags Yii