\documentclass[a4paper,11pt]{article}
\usepackage[polish]{babel}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{fourier}

\begin{document}

\noindent
\fbox{
\begin{minipage}[t][5cm][t]{0.7\textwidth}
Kraków\hspace{\fill} 01.01.2025\\
\vspace{\fill}\\
2025
\end{minipage}}

\end{document}