Function calculate_scheduled_timestamp

Source
pub fn calculate_scheduled_timestamp(delay_seconds: i64) -> i64
Expand description

Calculates a future timestamp by adding delay seconds to the current time

§Arguments

  • delay_seconds - Number of seconds to add to the current timestamp

§Returns

Unix timestamp (seconds since epoch) representing the scheduled time