1. 调用QDateTime::currentDateTime()获取当前系统日期时间,然后再调用toString转换为年月日格式 · 2. 运行输出的日期信息如下图所示,按照我们想要的格式 ...
確定! 回上一頁