#include <iostream>
int main() {
struct tm tm_init = {0};
strptime("2012-10-26 16:00", "%Y-%m-%dT %H:%M", &tm_init);
long epoch = mktime(&tm_init);
struct tm tm_rand;
strptime("2012-10-26 16:00", "%Y-%m-%dT %H:%M", &tm_rand);
epoch = mktime(&tm_rand);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7CglzdHJ1Y3QgdG0gdG1faW5pdCA9IHswfTsKICAgIHN0cnB0aW1lKCIyMDEyLTEwLTI2IDE2OjAwIiwgIiVZLSVtLSVkVCAlSDolTSIsICZ0bV9pbml0KTsKICAgIGxvbmcgZXBvY2ggPSBta3RpbWUoJnRtX2luaXQpOwogICAgCglzdHJ1Y3QgdG0gdG1fcmFuZDsKICAgIHN0cnB0aW1lKCIyMDEyLTEwLTI2IDE2OjAwIiwgIiVZLSVtLSVkVCAlSDolTSIsICZ0bV9yYW5kKTsKICAgIGVwb2NoID0gbWt0aW1lKCZ0bV9yYW5kKTsKICAgIAoJcmV0dXJuIDA7Cn0=