Converts JavaScript date strings to XLSX date integer