* \brief Convert a time in time_t format into a string formated according to RFC 822, 1036, 1123, 2822
* \param[in] p_time The time to convert in time_t format
* \return The time string formated
* \see http://www.unixtimestamp.com/
* @code
* std::string result = time_to_string(1489755780);
* result.compare("Fri, 17 Mar 2017 13:03:00 +0000") == 0 // When time zone is set to UTC
* @endcode
* \remark Use commands 1) timedatectl to change your machine timezone (e.g. sudo timedatectl set-timezone UTC to change machine timezone to UTC, 2) timedatectl list-timezones to get the list of the timezones)
*/
std::stringtime_to_string(consttime_tp_time);
/*!
* \brief Convert a time in struct tm format into a string formated according to RFC 822, 1036, 1123, 2822
* \param[in] p_time The time to convert in struct tm format
* \return The time string formated
* \see http://www.unixtimestamp.com/
*/
std::stringtime_to_string(conststructtm&p_time);
/*!
* \brief Convert a 16-bits integer (int16_t) into a bytes array