take the time
To require a comparatively long period of time.
Learning a foreign language takes time.