\documentclass[12pt]{article}

\usepackage[czech]{babel}
\usepackage[czech]{datetime2}

\begin{document}
\DTMdate{2023-03-21}
\end{document}
