properties(GetAccess='public', Hidden, Constant)
% These properties are for internal use only and will change in a
% future release. Do not use these properties.
UTCZoneID = 'UTC';
UTCLeapSecsZoneID = 'UTCLeapSeconds';
ISO8601Format = 'uuuu-MM-dd''T''HH:mm:ss.SSS''Z''';
epochDN = 719529; % 1-Jan-1970 00:00:00
% Canonicalize the TZ name. This make US/Eastern ->America/New_York, but it will also make EST -> Etc/GMT+5,because EST is an offset, not a time zone.
if supplied.TimeZone, tz = verifyTimeZone(tz); end
if supplied.Locale, locale = verifyLocale(locale); end
if supplied.PivotYear, verifyPivot(pivot); end
isUTCLeapSecs = strcmp(tz,datetime.UTCLeapSecsZoneID);
try
if supplied.InputFormat
verifyFormat(inputFmt,tz,true);
thisData = createFromString(inData,inputFmt,1,tz,locale,pivot);
else
if supplied.Format, tryFmts = {fmt}; end
[thisData,inputFmt] = guessFormat(inData,tryFmts,1,tz,locale,pivot);
end
catch ME
if strcmp(ME.identifier,'MATLAB:datetime:ParseErrs')
handleParseErrors(inData,supplied,fmt,inputFmt,locale);
else
throw(ME)
end
end
报下面的错,恳请大神帮忙解答一下
错误使用 datetime (line 616)
无法识别日期/时间文本的格式。您可以使用 'InputFormat' 参数指定格式字符向量。如果日期/时间文本包含的日期、月份或时区名称所采用的语言不同于 'zh_CN' 区域设置,则可能无法识别这些名
称。您可以使用 'Locale' 参数指定不同的区域设置。
出错 quandl_forecast_fileexchange (line 92)
dates = datetime(tstime); % Converts dates to datetime format