How to get only date from the complete date?

Hi @harshikakhatri269

How about this expression?

DateTime.ParseExact("09/12/2022","dd/MM/yyyy",System.Globalization.CultureInfo.InvariantCulture).Day

image

Regards
Gokul