Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

SharePoint Date Column shows time when used as a document property in word.

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have a SharePoint list that feeds a calculated date column into a Word template. All dates should just be dates with no time included.

 

So it's set up something like this:

SHAREPOINT LIST

SharePoint List: Date Column 1

Date and Time column, Date only is selected

 

Sharepoint List: Date Column 2

=IF(WEEKDAY([DateColumn1])=6,[DateColumn1]+3,[DateColumn1]+1)

(Basically, if a date is selected, return the following date, if Friday is selected, return the following Monday)

 

POWER FLOW

Power flow: Date Column 2 is fed into a custom Document type (Doc Bookings). Doc Bookings Column 2 is set as Date and time, Date only. 

 

WORD

Doc Bookings Column 2 is inserted into the placeholder document via document properties. When the flow triggers it creates a copy of the document with the document properties filled in.

 

 Throughout this workflow only the date shows up. When the word document is generated, it suddently populates a time. 

AlyssaTsang_0-1682616489641.png

I'm stumped as to where it's getting this time and how to get rid of it?

 

  • Verified answer
    AlyssaTsang Profile Picture
    on at
    Re: SharePoint Date Column shows time when used as a document property in word.

    Strangely, the issue seems to have fixed itself? I had given up on solving the issue for a bit and kept testing and now the time is no longer showing?

  • AlyssaTsang Profile Picture
    on at
    Re: SharePoint Date Column shows time when used as a document property in word.

    I tried it out but no luck, the time is still popping up with the date. I appreciate the solution, I thought for sure it was going to work. It does eliminate the flow as the cause, I'm thinking it's something to do with my word template or the document type settings.

  • EddieE Profile Picture
    4,641 Super User 2025 Season 1 on at
    Re: SharePoint Date Column shows time when used as a document property in word.

    @AlyssaTsang 

    You could try formatting your date column 2 inside your Flow, eg

     

    Instead of just referencing your field in your flow, use the Expression builder to add this code

     

    formatDateTime( yourDateColumn2NameHere , 'dd/MM/yyyy')

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,653 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard