This commit is contained in:
2025-12-01 23:41:00 +01:00
parent 1c1e22b1df
commit 9bc260a750
14 changed files with 254 additions and 38 deletions

View File

@@ -53,3 +53,9 @@ bool Fecha::es_menor(Fecha &f) {
}
}
std::string Fecha::conv() {
char buf[20];
sprintf(buf, "%04d/%02d/%02d%02d:%02d:%02d", a, m, d, h, min, s);
return string(buf);
}