%% Date and Time from Text in Foreign Language
% Create a cell array of character vectors containing dates in French.

C = {'8 avril 2013','9 mai 2013';'10 juin 2014','11 juillet 2014'}

%
% Convert the character vectors in C to datetime values. If your computer is set to a locale that uses English, you must specify the 'Locale' name-value pair argument to indicate that the strings are in French.

t = datetime(C,'InputFormat','d MMMM yyyy','Locale','fr_FR')

% The datetime values in t display in the default format, and in the language MATLAB uses depending on your system locale.
% Copyright 2012 The MathWorks, Inc.