Bash Script Echo Array Php Format Date