function seek_type(var)

how could i do to know the type of var ?
(Integer or String or date ... etc)

thanks a lot