How do i find the latest date?

Hello,

I have 3 date input fields. Different dates are written in these 3 fields. I need to find out which is the latest date between these 3 dates. How can I do this?

Hello Serhat,

Different dates are written in these 3 fields

Do you mean database fields? Where are the dates coming from?

Hello Teodor ,
no they are input field . you can see at attachment .

image
I specify the date with datepicker.

Ok, so what are you going to use this check for?

While allocating a phone number, I need to specify the latest date this process was performed in another field.

restriction date
pause date
cancel date
Whichever of the dates in these 3 fields is the latest , that date must be my process date.