Having trouble with system.tag.queryTagHistory and time stamps

I’ve been able to get the last value for a series of tags using system.tag.queryTagHistory but I’m not able to get the historical time stamp along with the values. Instead the timestamp for each row is the current date and time. Can anyone tell me what I am doing wrong?

Here’s the relevant part of my script.

			now = system.date.now()
			start = system.date.addDays(now, -1)
	
			ag_modes = ["LastValue"] * len(all_paths)
			results = system.tag.queryTagHistory(all_paths, ignoreBadQuality=False , aggregationModes=ag_modes
				,timeout=6000, returnSize=1, returnFormat="Tall", startDate=start, endDate=now) 

And this is the output. I ran the script at 17:05

[u'Equipment/TankBattery/ACE/TK_201/Top_Level', 6.770833492279053, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_201/Interface_Level', 0.4375, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_202/Top_Level', 6.895833492279053, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_202/Interface_Level', 4.854166507720947, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_203/Top_Level', 0.5208333134651184, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_203/Interface_Level', 0.3125, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_205/Top_Level', 0.6875, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_205/Interface_Level', 0.3125, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_207/Top_Level', 1.1458333730697632, 320, Wed Oct 13 17:05:52 CDT 2021]
[u'Equipment/TankBattery/ACE/TK_207/Interface_Level', 0.3125, 320, Wed Oct 13 17:05:52 CDT 2021]