I put number of second into seconds_to_period() function and here is my code:
my_time_sum <- seconds_to_period(my_time_seconds_sum) # Convert seconds to Period
my_time_sum
Output:
[1] "144d 12H 53M 19S"
I was just curious how can I extract '144' out of this string? Also, are there any ways to convert this duration to number of years?