How Can I Convert Dat File To Csvin My Windows PC?

I have an automated machine that keeps the record of attendance of the employees in the office. It also generated a DAT file that it can read every day and I need to refresh its memory every day. How can I convert dat file to CSV?
