How to re-direct site to always use HTTPS?

For those of you using SSL for your domain and Owncloud where exactly did you add this line of code that needs to be intered into the .htaccess file? The current .htaccess has loads of data in it already so I’m a little weary and confused about where to enter this line.

Thanks