#include<cstdio>
#include<ctime>
int main(
void
)
{
time_t t;
t=
time
(&t);
printf
(
"Today‘sdateandtime:%s\n"
,
ctime
(&t));
return 0;
}
time ctime,布布扣,bubuko.com
time ctime
原文:http://www.cnblogs.com/jsy306/p/3755803.html