I have an application that is using decimal time in seconds. I want to use the QDateTimeEdit to display the value in a more readable format to allow a user to change the value. I then would like to retrieve the time back into a decimal time in seconds. I cannot see any convenient functions to convert back and forth.