SharePoint search result gives 1 hr. time difference for built in properties like Modified.

%3CLINGO-SUB%20id%3D%22lingo-sub-2017735%22%20slang%3D%22en-US%22%3ESharePoint%20search%20result%20gives%201%20hr.%20time%20difference%20for%20built%20in%20properties%20like%20Modified.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2017735%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20SPO%20search%20API%20to%20get%20Modified%20Date%20and%20time%20for%20Pages%20in%20Modern%20SharePoint%20site.%20I%20am%20using%20these%20properties%20ModifiedOWSDATE%20%2C%20LastModifiedTime%20.%20Both%20properties%20gives%20result%20but%20gives%201%20hr.%20difference%20in%20time.%20E.g.%20actual%20Modified%20Time%20for%20page%20is%26nbsp%3B%3CSPAN%3E2020-11-25%2016%3A26%20but%20search%20gives%20time%26nbsp%3B2020-11-25%2015%3A26.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20you%20help%20me%20this.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2017735%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

I am using SPO search API to get Modified Date and time for Pages in Modern SharePoint site. I am using these properties ModifiedOWSDATE , LastModifiedTime . Both properties gives result but gives 1 hr. difference in time. E.g. actual Modified Time for page is 2020-11-25 16:26 but search gives time 2020-11-25 15:26. 

Could you help me this.

Thank you.

 

0 Replies