No, this code is not the one I need.
I have a number of properties of my object (self). I want to determine the type of my properties. It is easy to determine integers, strings etc. But there is no special method in typinfo to determine whether my property is TDateTime - I can find out that it is double (which in fact the TDateTime is) but I don't know whether it is double or TDateTime.