Module solana_sdk::timing[][src]

The timing module provides std::time utility functions.

Constants

SECONDS_PER_YEAR

Functions

duration_as_ms
duration_as_ns
duration_as_s
duration_as_us
slot_duration_from_slots_per_year

From slots per year to slot duration

timestamp
years_as_slots

from years to slots