The veteran television journalist Peter Harvey is gravely ill in a Sydney hospital as he continues to battle pancreatic cancer.

The Channel Nine reporter, who was diagnosed with cancer in October last year, could have just days to live, sources close to Harvey said.

In hospital ... Peter Harvey.

Harvey's daughter, journalist Claire Harvey, thanked everyone for their support after her father was admitted to hospital.

''Thank you to everyone for your amazingly kind messages to Dad. He is getting great care in hospital,'' she tweeted.