How to check current date and time with created field in Sharepoint 2019

Raj Shekar 21 Reputation points
2023-03-17T23:57:53.47+00:00

Hi all,

Need help on the below requirement.

I have Sharepoint List in Sharepoint 2019 with Title column and default columns like created and createdby. I need all the items created after Today at 7.30Am from that list.

Could you please help me with code.

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 51,846 Reputation points Microsoft External Staff
    2023-03-20T06:16:10.29+00:00

    Here're steps:

    1.Create a date and time column named "Today", set default value as Today 7:30 Am.

    2.Create a calculated column named "Calculated", use this formula: =IF(Created>Today,"Yes","No").

    3.Create a new view -> In the Filter section, set calculated as Yes.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.