Function getCurrentDatetime

Function Documentation

std::string getCurrentDatetime()

Get the current datetime as a formatted string.

Returns:

std::string formatted datetime string (e.g., “2025-11-26 10:12:41 CET”)