Convert datetime into number of hours?

Viewed 6103

I have a datetime stamp (e.g. time(6,30)) which would return 06:30:00. I was wondering how I could then convert this into 6.5 hrs.

Kind regards

2 Answers
Related