How to create a date and time column and enter data in a SharePoint List

Abdullah El Tahawy 5 Reputation points
2023-05-01T13:17:17.9333333+00:00

Hi there,

I've created a SP list and I have a time and date column, to fill both date and time SP is giving 2 fields however I saw in another list that both time and date can be entered from a single field.

can you help to explain how can that be accomplished

User's image

Microsoft 365 and Office | SharePoint | For business | Windows
{count} vote

3 answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,666 Reputation points Microsoft External Staff
    2023-05-02T06:58:09.14+00:00

    Hi @Abdullah El Tahawy ,

    I tested in my environment and the situation is the same as yours.

    05025

    When I use "Edit in grid view" it is like this, but also make date and time selection separately.

    05024

    In my opinion, it is by design.

    Could you please provide me a screenshot of the other list you mentioned? Maybe it used custom code, please check.

    Update on 5/3/2023

    Regarding the video you provided, I followed his steps to create a Microsoft List using the same template, but, unfortunately, the actual effect is not the same as in the video. When I click to start editing, he will become two parts.

    05031

    This is an upgrade of the product, and all newly created lists should work in this way.


    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.


  2. Yanli Jiang - MSFT 31,666 Reputation points Microsoft External Staff
    2023-05-08T06:18:10.1966667+00:00

    Hi @Abdullah El Tahawy ,

    I saw your reply, but there is really no OOB way to achieve it at the moment. After some research, you can try to add a Date and Time type column through Power Apps to see if it meets your needs.

    Or, by means of development, to customize CSS.

    https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-add-js-css-ref


  3. Vk 0 Reputation points
    2024-10-07T11:12:00.77+00:00

    How does this work in SharePoint 2013? I have a customized list (Customized using InfoPath) there I don't get this option for selecting time. Please help.I am looking for below option in the form.

    User's image

    0 comments No comments

Your answer

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