smarter date filter

tries to convert from number to date or from string to date
return empty string if something goes wrong