Question about time-based relationships

Hello everyone,
I have a data set where relationships are time based, having a start date and an end date. How can I make community detection use these date ranges?
I would appreciate any help on this.
Thank you.