Skip to main content

## seconds_to_ticks

# Function seconds_to_ticks

Source

    pub fn seconds_to_ticks(seconds: f64) -> i64

Expand description

Convert seconds to Jellyfin ticks

## §Arguments

- `seconds` - Time in seconds (e.g., 90.5 for 1 minute 30.5 seconds)

## §Returns

Time in Jellyfin ticks (will be rounded down to nearest tick)

## §Example

    let ticks = seconds_to_ticks(1.5); // 15,000,000 ticks