gistlib
You can use the dateshift function from MATLAB to get today's date without hours. Here is an example:
dateshift
main.mtoday_date = datetime('today'); today_date_without_time = dateshift(today_date,'start','day'); disp(today_date_without_time); 126 chars4 lines
today_date = datetime('today'); today_date_without_time = dateshift(today_date,'start','day'); disp(today_date_without_time);
This code will output today's date without the time component.
gistlibby LogSnag