Integer value of difference between two dates

When subtracting two dates in Julia, the result is something like “293 days”. How can extract the integer part and ignore the “days” part?

I think there is a Dates.value(daysVariable)

1 Like