Like moment.js, in c++
IMPORTANT: do not use it (experimental)
#include <iostream>
#include <moment>
int main(){
std::cout << moment::moment() << std::endl;
}
$ mkdir build && cd build
$ cmake .. && make --build .
this project use google test. To run tests:
# make sure project is built, then
$ ./build/moment_test
see this if you have troubles installing it.