Hi @Basty and welcome to the community!
Starting from this post:
You can understand the usage of decimal-date-time() (which shown in this article)
After that you can use some calculation type questions to achieve what you are looking for 
Let me know if you need more help