


GREG2STR Converts Gregorian time array to String
Usage:
[str]=greg2str(gtime)
convert gregorian time to string for display (don't include seconds)

0001 function [str]=greg2str(gtime) 0002 % GREG2STR Converts Gregorian time array to String 0003 % Usage: 0004 % [str]=greg2str(gtime) 0005 % convert gregorian time to string for display (don't include seconds) 0006 0007 % Rich Signell (rsignell@usgs.gov) 0008 str=sprintf('%4.4d/%2.2d/%2.2d %2.2d:%2.2d',gtime(1:5)); 0009