%% Store and Check Date Information
% Create a figure window. Then, get the current time by using the date function.
% Store the contents of d by using the setappdata function. In this case, store d in the figure using the name identifier 'todaysdate'.

f = figure;
d = date
setappdata(f,'todaysdate',d);

% Confirm that d is stored in the figure object under the specified name identifier.

isappdata(f,'todaysdate')

% Copyright 2020 The MathWorks, Inc.