SHARE
TWEET

array_to_strtime_to_date

D3vBl4ck Oct 18th, 2019 2,475 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public function array_to_strtime_to_date($data)
  2.     {
  3.         for ($i = 0; $i < count($data); $i++) {
  4.             $data_array[] = date('H:i A', strtotime($data[$i]));
  5.         }
  6.  
  7.         return $data_array;
  8.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top