Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
time_utils.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6namespace radix_relay::platform {
7
13[[nodiscard]] auto format_current_time_hms() -> std::string;
14
20[[nodiscard]] auto current_timestamp_ms() -> std::uint64_t;
21
22}// namespace radix_relay::platform
auto format_current_time_hms() -> std::string
Formats the current local time as HH:MM:SS.
auto current_timestamp_ms() -> std::uint64_t
Gets current timestamp in milliseconds since Unix epoch.