web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SharePoint Date Column...
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?

 

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @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')
  • AlyssaTsang Profile Picture
    on at

    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.

  • Verified answer
    AlyssaTsang Profile Picture
    on at

    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?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard