* @brief Returns the current timestamp. */
| 55 | * @brief Returns the current timestamp. |
| 56 | */ |
| 57 | std::tm *getCurrentTimestamp() { |
| 58 | auto now = std::time(nullptr); |
| 59 | return std::localtime(&now); |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * @brief Returns the current date in the form @c YYYY-MM-DD. |
no outgoing calls
no test coverage detected