How to get driving time between two points

If I have two latlong, one for source and other for destination, is there any way I can get driving ‘time’ between the two points (accounting for traffic/speed limits)?