Help with salary structure (access to current date in condition)

Hello, I need to add a condition based on the antiquity of the employee. The Employee Doctype have the date_of_joining so the antiquity can be calculated with the current date and this field.

But in the conditions of the Salary Structure, I do not have any acces to frappe functions nor datetime module.

Any idea how achieve this?

Thanks

Hi! Any idea for this?

Thanks!

Same problem here. Please help! We need either datetime or frappe utils to be imported, how to achieve this?

Any solution?

+1 for this, same problem