Because number formats apply to numbers only.
Enter “abcde” into a cell and apply some number format Of course it has no effect. You imported text data and no color, border, font, font size nor any other formatting attribute will ever (and must not) convert your precious data into anything else. Any date on screen existis only in your head. For the application it is a meaningless sequence of digits and slashes.
Either you import text data correctly (which is easy to do) or you learn how to repair wrong data (not so easy).
You open a text file with Calc and get an import dialog. What does that dialog want from you? It wants you to describe the data as precisely as possible because this office suite has no connection to any AI-engine. It is not a dialog that asks what you want. It asks for a description how to interprete the incoming data. There are thousands and thousands different types of csv files out there with all kinds of weird notations for dates, times, decimals, positive and negative figures.
Importing a text file having US-American M/D/Y dates, what you most likely need to do is:
- Language: English(USA)
- Detect special numbers: ON
- Quoted fields as text = OFF (most likely)
No need to declare the type of each column.
After confirmation of the import dialog hit Ctrl+F8 to test the result. All numbers appera in blue font. You can format these numbers any way you like.