DataGrid Custom Filter Advanced

The property is seconds(long) formated into month, days, hours, minutes, seconds. How can I make a custom filter for advanced mode with an input field for number and dropdown enum for month, days, hours, minutes, seconds and filter operator if it's before or after that time?

<RadzenDataGridColumn Property="Time" Title="Time">
    <Template Context="item">
        <RadzenText Text="@($"{Util.FormatSeconds(item.Time)} ago")" />
    </Template>
</RadzenDataGridColumn>

FilterTemplate works in all filter modes.