Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Иван Цыганков
Added: Mar 2, 2018 6:37 AM
Views: 24
Tags: yii2
  1. $data['months'][$i] = \Yii::$app->formatter->asDate("2017-{$i}-01", 'LLLL');