Thanks Tom for the reply!
Unfortunately, the function you suggested does not work.
This is the error: "Error: toString accepts an object and an optional second argument containing a date format string".
I solved it in an "alternative" way: I converted the excel file into a csv file and now the date-fields are seen in the classic O.R format ..
I think the problem is to be associated with excel and its management of dates and in particular with the "cell format" which can be customized.
By turning the excel file into csv instead, I believe these formatting settings are lost, making it easier for O.R. recognize the format of the fields.