char * buf = new char[(value.length() << 1) + 1];
PQescapeStringConn(connection,
char * buf = new char[(value.length() << 1) + 1];
PQescapeStringConn(connection,
strftime(buf, 32, "%Y-%m-%d %H:%M:%S", &brokenTime);
return buf;
strftime(buf, 32, "%Y-%m-%d %H:%M:%S", &brokenTime);
return buf;