Dateline is a register word for newspaper publishing. It refers to a section of a newspaper where the location and place of publishing is printed and typed in italics.
Deadline means the time limit which a project, assignment, task or job is to be completed. Its a time duration specified for any job or task usually work related.
"The deadline for this job is in two hours."