我的日期表中有以下值
int StartColumn = 'x';
int EndColumn = 'y';
int MeanColumn = 'z';
int MedianColumn = 'r';
foreach (var row in workSheet)
{
var shape = new Shape()
{
Start = excel.ReadCell(row, StartColumn);
End = excel.ReadCell(row, EndColumn);
Mean = excel.ReadCell(row, MeanColumn);
Median = excel.ReadCell(row, MedianColumn);
};
}
return list;
}
我正在尝试使用雪花SQL中的to_date转换上述日期列。我正在 出现以下错误:-
Jan 7, 2019
Jan 14, 2019
代码如下:-
Can't parse 'Jan 7, 2019' as date with format 'Mon DD,YYYY'