Useful error message for TimeFromEpoch scale conversion error.

Pull request for the updated error message in case of failure in scale conversion in TimeFromEpoch. First pointed in issue #1829 (now closed). 
@taldcroft please review these changes and tell me if any changes are required! 
Thank you!