MATLAB: Current date and time

date time

I would like to view the time of the day and date in the following format example (21/06/16-11:32) in a GUI. What is the command?

Best Answer

datestr(now, 'dd/mm/yy-HH:MM')