Generally, we have seen that when we write Max(date) in chart then it results in number format ex: 156725, but in my case it is directly resulting in date format.
Also when I uses expressions which contains such variables then in general it uses num for comparison of dates