public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { try { if (DateTimeExtension.TryParseToDateTime(System.Convert.ToDouble(value), out DateTime dt, true)) { return(dt); } return(default);