function s = hms_to_s ( h, n, second )

%*****************************************************************************80
%
%% hms_to_s() "prints" an HMS date into a string.
%
%  Format:
%
%    HH:MM:SS
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 June 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer H, N, SECOND, the HMS date.
%
%  Output:
%
%    string S, contains a representation of the date.
%
  s = sprintf ( '%02d:%02d:%02d\n', h, n, second );

  return
end
