Giving the time to someone means having sexual intercourse with that person.
Salinger uses this phrase quite often in his novel, The Catcher in the Rye.
"I don't think he gave that girl the time that night-but damn near."
To overwhelm with insincere talk, especially with flattery.
In The Catcher in the Rye, by J.D. Salinger, the narrator tells about Stradlater's technique of "giving girls the time".
"But old Stradlater kept snowing her in this Abraham Lincoln, sincere voice, and finally there'd be this terrific silence in the back of the car."