function s = timestring %% TIMESTRING returns a string containing the current YMDHMS date. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 15 January 2008 % % Author: % % John Burkardt % % Parameters: % % Output, string S, a string containing the current YMDHMS date. % t = now; c = datevec ( t ); s = datestr ( c, 0 );