Convert date to text in Excel and Google Sheets

=TEXT(A2,"dd/mm/yyyy")

A2 = date cell

Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.