title: How to change date format from array
body: <p><strong>Now, I'm try to change date format from year-month-day to month/day/year form array.</strong>  </p>
  
  <p><strong>I have an array that contains multiple dates in array i want to change each date format to year-month-day to month/day/year. Please check below array that contains multiple dates. Please help me if know something about that.</strong></p>
  
  <pre><code>Array
    (
      [0] =&gt; 2018-05-19
      [1] =&gt; 2018-05-20
      [2] =&gt; 2018-05-21
      [3] =&gt; 2018-05-22
      [4] =&gt; 2018-05-23
      [5] =&gt; 2018-05-24
      [6] =&gt; 2018-05-25
      [7] =&gt; 2018-05-26
      [8] =&gt; 2018-05-27
      [9] =&gt; 2018-05-28
      [10] =&gt; 2018-05-29
      [11] =&gt; 2018-05-30
      [12] =&gt; 2018-05-31
      [13] =&gt; 2018-06-04
      [14] =&gt; 2018-06-05
      [15] =&gt; 2018-06-08
      [16] =&gt; 2018-06-09
      [17] =&gt; 2018-06-10
      [18] =&gt; 2018-06-13
      [19] =&gt; 2018-06-14
      [20] =&gt; 2018-06-15
      [21] =&gt; 2018-06-17
      [22] =&gt; 2018-06-20
      [23] =&gt; 2018-06-21
      [24] =&gt; 2018-06-24
      [25] =&gt; 2018-06-28
      [26] =&gt; 2018-06-29
      [27] =&gt; 2018-07-02
      [28] =&gt; 2018-07-05
      [29] =&gt; 2018-07-11
      [30] =&gt; 2018-07-12
      [31] =&gt; 2018-07-15
      [32] =&gt; 2018-07-16
      [33] =&gt; 2018-07-17
      [34] =&gt; 2018-07-20
      [35] =&gt; 2018-07-23
      [36] =&gt; 2018-07-24
      [37] =&gt; 2018-07-25
      [38] =&gt; 2018-07-26
      [39] =&gt; 2018-07-27
      [40] =&gt; 2018-07-29
      [41] =&gt; 2018-08-07
      [42] =&gt; 2018-08-08
      [43] =&gt; 2018-08-10
      [44] =&gt; 2018-08-11
      [45] =&gt; 2018-08-12
      [46] =&gt; 2018-08-13
      [47] =&gt; 2018-08-15
      [48] =&gt; 2018-08-17
      [49] =&gt; 2018-08-18
      [50] =&gt; 2018-08-19
      [51] =&gt; 2018-08-20
      [52] =&gt; 2018-08-21
      [53] =&gt; 2018-08-25
      [54] =&gt; 2018-08-26
      [55] =&gt; 2018-08-27
      [56] =&gt; 2018-08-28
      [57] =&gt; 2018-08-29
      [58] =&gt; 2018-08-30
  )
  </code></pre>
  
  <p><strong>I have an array that contains multiple dates in array i want to change each date format to year-month-day to month/day/year. Please check below array that contains multiple dates. Please help me if know something about that.</strong>    </p>