[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/Dmdv/expresscpp/master/src/date.cpp [Back]  [Original]

#include "expresscpp/date.hpp"

#include 
#include 
#include 

namespace expresscpp {

std::string Date::getTime() {
  const auto timestamp_ = std::chrono::system_clock::now();
  const time_t now_time = std::chrono::system_clock::to_time_t(timestamp_);
  const auto gmt_time = gmtime(&now_time);
  std::stringstream ss;
  ss 

Web Proxy Viewer  |  New URL  |  Original Page