% ostime2md converts time:units = "days since 1950-01-01 00:00:00 UTC"
%      to matlab time word (for use with datevec, datetick, datestr)
%
% INPUT: 
% time:units = "OceanSITES input time" ;
% time:units = "days since 1950-01-01 00:00:00 UTC" ;
%
% OUTPUT:
% md = date since 1-Jan-0000
%
%               MC May 1 2007
%
% function [md] =  ostime2md(time);
  function [md] =  ostime2md(time);

md0 = datenum(1950,1,1);
md = md0 + time;

