This is just to have a pleasant way to print the current time for now: dbg() << Core::DateTime::now(); Or if you want it as a string: Core::DateTime::now().to_string();