Thanks for the reply and answer.
I just hoped that we either can identifiy fields doing it this way, using the meta data of the field. And not just guessing using is_int.
Also it looked stranged because most fields return a DateTime, just that one field…