commit 5f54634529ee4223cbd8204d2428ddb8ee508086 Author: Alina Marquardt Date: Tue Oct 22 19:28:59 2024 +0200 Add convert.php diff --git a/convert.php b/convert.php new file mode 100644 index 0000000..cc8b26c --- /dev/null +++ b/convert.php @@ -0,0 +1,56 @@ += 0) { // date column has been found + $row = str_getcsv($row, $col_delimiter); // parse columns + $row[$date_col_index] = date("Y-m-d", strtotime($row[$date_col_index])); // modify date format + $row = implode($col_delimiter, $row); // combine colums + } + } + $row_counter++; +} +$data = implode($row_delimiter, $data); // combine rows + +echo $data \ No newline at end of file