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