difftime function (possible Feature Request)

Discuss the jamovi platform, possible improvements, etc.

by mherberg » Wed Oct 14, 2020 2:40 pm

I apologize if this has been asked before, but I could not find it in search.

Is there support for base time functions or R dates (DateTimeClasses)? It appears not but I wanted to check. For example is there any easy way to calculate the interval between two columns like difftime function performs.

Thank you.
Posts: 1
Joined: Wed Oct 14, 2020 2:25 pm

by jonathon » Thu Oct 15, 2020 5:17 am

we don't have a date/time data type unfortunately.

a workaround is to express dates with an integer expressing the number of days since a particular date. then you can just subtract them.

User avatar
Posts: 1405
Joined: Fri Jan 27, 2017 10:04 am

Return to General