I always used "это занимает время " to say "it takes time".
But someone told me no one talks like this in Russia. For instance, if you wanna say it takes time to write, you say: "Долго писать"
But it sounds a bit of slang to me to make from "it takes time (+verb)" -> "долго + глагол"
Is it really how it is?