Getting the 'TimeValue' from vtk.vtkXMLPPolyDataReader()

I have vtk data files with the XML pvtp format.
The pvtp file specifies the vtp pieces and the array names. It also consists of a Field data called ‘TimeValue’. Paraview has no problem reading the ‘TimeValue’ and getting the time.

However, I am unable to get this TimeValue using the python reader. I have tried looking into the documentation. The only thing that I can get is the name of the array using ‘reader.GetTimeDataArray(0)’ This returns a string ‘TimeValue’
But reader.GetOutput().GetFieldData(‘TimeValue’) returns None.

It would be great if someone could please help.