Hi, I have retrieved news data. Can you please tell me how to change the date and time displayed to the second? In the figure, I want to delete the red line.
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Hi, I have retrieved news data. Can you please tell me how to change the date and time displayed to the second? In the figure, I want to delete the red line.
@yumi.tanaka So this is easy to do with replace:
startdf = dfN['versionCreated'].replace(microsecond=0,tzinfo=None).strftime('%Y/%m/%d %H:%M:%S') startdf = datetime.strptime(startdf,'%Y/%m/%d %H:%M:%S')
I hope this can help.