I'm using Chrono to standardize the usage of timestamps in an application.
Given a timestamp, I would create a timepoint. I'd then convert it to time_t to pass it as a parameter.
std::chrono::system_clock::to_time_t (timePoint)
Should I be passing a timepoint instead? What seems to be best practice?
void func(time_t time)
or
void func(std::chrono::time_point timePoint)