Added method ExtractHMSFromTime to library.