Adding toFormattedTime method
Merge pull request #7 from manverualma/master

toFormattedTime method