ptth/bare_minimum_crypto/cpp/time_helpers.h

14 lines
283 B
C++

#pragma once
#include <stdint.h>
namespace BareMinimumCrypto {
const int64_t about_1_week = (int64_t)7 * 86400;
const int64_t about_3_months = (int64_t)105 * 86400;
const int64_t about_1_year = (int64_t)365 * 86400;
int64_t get_seconds_since_epoch ();
int test_time ();
}