Category: PHP

PHP Match dates which may differ a few seconds from each other

At my work, I needed to compare two CSV files containing CDR’s (Call Detail Records). To made it quick and easy, I made a PHP script to do this. Some CDR’s were missing in our file or vice versa. The CDR’s which were not missing needed to be compared with each other. The problem was …

Continue reading