C语言实现字符串格式时间转换时间戳
1.函数实现#include <string.h>#include <stdio.h>#include <time.h>/* 判断是否闰年 */#define IS_LEAP_YEAR(year) \ (((year) % 400 == 0) || ((year) % 4 == 0 &&