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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SharePoint Date Column...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard