Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 libxml2 生成一个 XML 文件。在其中一个标签中,我想将当前时间"dd mm yyyy hh mm sec"格式化。我的开发环境是 C/LINUX。谢谢 !
"dd mm yyyy hh mm sec"
使用strftime. 查看手册页以获取详细信息。
strftime