Accept string and number as TimestampType