MATLAB: How to compare real time with an entered time in a table cell in guide GUI

cellcompareguiguidematlab guitabletimes

hello! i am a beginner user for guide . I am working on a GUI and i want to enter many times from a table, and compare these times with real time in order to do something. how could i do this?

Best Answer

you can get the current time by using,
>> curr_time = datetime('now')
curr_time =
datetime
2017-11-20