issue #1: use isNaN(Number(data)) instead of Number(data) as boolean expression to determine whether data is a number
fix c# datetime conversion from string