Advertisement
D3vBl4ck

array date format to array strtotime

Oct 18th, 2019
18,772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. public function array_to_strtime($data)
  2.     {
  3.         for ($i=0; $i < count($data); $i++) {
  4.             $data_array[] = strtotime($data[$i]);
  5.         }
  6.  
  7.         return $data_array;
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement