ptth/bare_minimum_crypto/cpp/time_helpers.h

14 lines
283 B
C
Raw Normal View History

2021-01-17 21:45:59 +00:00
#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 ();
2021-01-17 21:53:04 +00:00
int test_time ();
2021-01-17 21:45:59 +00:00
}