Get I-deas date string for a MATLAB datenum.
s=ideas_datestr(n)
s=ideas_datestr(n,'irig')
IDEAS_DATESTR is a utility function that converts a numeric date/time n into an I-deas date/time string s.
I-deas date/time strings are used for creation and modification date strings in imat_fn objects, and have the format 'DD-MMM-YY HH:MM:SS'.
Passing in the optional input string 'irig' returns the date string in IRIG Time format.
MATLAB numeric date/time values are serial days where 1 is 1-Jan-0000.
s=ideas_datestr(now) returns the current date/time in I-deas date/time format. s=ideas_datestr('irig') returns the current date/time in IRIG Time format.
>> n=datenum('12/10/97')
n =
729734
>> f=imat_fn(1);
>> f.createdate=ideas_datestr(n);
>> f.createdate
ans =
'10-Dec-97 00:00:00'
>> f.irigtime=ideas_datestr(n,'irig');
>> f.irigtime
ans =
'344:00:00:00.000000'
>>