#include <time.h>
#include <iostream>
using namespace std;
int main() {
tm tmbuf;
const char *str = "20:48:01.469 UTC MAR 31 2016";
const char *fmt = "%H:%M:%S.%Y %Z %b %d %Y";
strptime(str,fmt,&tmbuf);
cout << tmbuf.tm_year+1900 <<"-"<<tmbuf.tm_mon+1<<"-"<<tmbuf.tm_mday<<" ";
cout << tmbuf.tm_hour <<":"<<tmbuf.tm_min<<":"<<tmbuf.tm_sec<<endl;
return 0;
}
I2luY2x1ZGUgPHRpbWUuaD4KI2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgl0bSB0bWJ1ZjsKCWNvbnN0IGNoYXIgKnN0ciA9ICIyMDo0ODowMS40NjkgVVRDIE1BUiAzMSAyMDE2IjsKCWNvbnN0IGNoYXIgKmZtdCA9ICIlSDolTTolUy4lWSAlWiAlYiAlZCAlWSI7CglzdHJwdGltZShzdHIsZm10LCZ0bWJ1Zik7Cgljb3V0IDw8IHRtYnVmLnRtX3llYXIrMTkwMCA8PCItIjw8dG1idWYudG1fbW9uKzE8PCItIjw8dG1idWYudG1fbWRheTw8IiAiOwoJY291dCA8PCB0bWJ1Zi50bV9ob3VyIDw8IjoiPDx0bWJ1Zi50bV9taW48PCI6Ijw8dG1idWYudG1fc2VjPDxlbmRsOwoJcmV0dXJuIDA7Cn0=