mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 11:47:56 +08:00
11 lines
272 B
C++
11 lines
272 B
C++
#include <drogon/utils/Utilities.h>
|
|
#include <iostream>
|
|
|
|
using namespace drogon;
|
|
int main()
|
|
{
|
|
auto str = utils::getHttpFullDate();
|
|
std::cout << str << std::endl;
|
|
auto date = utils::getHttpDate(str);
|
|
std::cout << utils::getHttpFullDate(date) << std::endl;
|
|
} |