设计界面
登录界面
计算界面
timestamp1 = datetime('now') ;
timestamp2 = datetime('2023-12-30 13:00:00');
a= timestamp1.Second- timestamp2.Second;
if a < 0
msgbox('Deadline哈')
else
app.Button.Visible = false;
app.Label.Visible = false;
app.Panel.Visible ='on';
end
通过时间戳,隐藏登录页面,显示计算页面。