网友收藏Linux下字符串转时间tm结构函数strptime-CSDN博客原型:char *strptime(const char *buf,const char *format,struct tm *timeptr)buf: tm格式化后的C字符串(以0结尾);format: 字符串格式,构建方式与strftime的format字符串完全一样;struct tm *time... 2023-10-13 08:15 评论 0 阅读 阅读全文