Skip to main content

Notifications

Community site session details
Power Apps - Building Power Apps
Answered

Date Picker to Excel Format

Like (0) ShareShare
ReportReport
Posted on 13 Dec 2021 16:21:28 by 8

Hello!

 

I am looking to patch the date from the Date Picker, but the format sent to Excel is not my preferred view. Ideally it would read mm.dd.yyy

 

Any guidance would be greatly appriciated!

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 16 Dec 2021 at 03:26:47
    Re: Date Picker to Excel Format

    Hi @naddie627,

    From the error message saying that your Date_Time column expects DateTime value, so please check the column setting in your Excel table.

    Select the whole Date_Time column and format it as a general column.

  • naddie627 Profile Picture
    8 on 15 Dec 2021 at 15:04:40
    Re: Date Picker to Excel Format

    Hello Qi, 

    Thank you for the response! The column type I am using is set to General. I tried using the formula you provided, but I am still receiving an error. Any suggestions?Capture.PNGCapture1.PNG

  • v-qiaqi@microsoft.com Profile Picture
    on 14 Dec 2021 at 06:38:59
    Re: Date Picker to Excel Format

    Hi @naddie627,

    Do you want to patch a selected date to excel as "mm.dd.yyy"?

    Could you please tell me that which column type you save the date in excel?

     

    I would always suggest a GENERAL column in the excel table to save the selected date from Power Apps.

    If the GENERAL column does not affect your data set, please make sure you have a GENERAL column to save the date and modify your formula as below:

     

    Patch(Table_1,Defaults(Table_1),{Date_Time:Text(DatePicker1_1.SelectedDate,"mm.dd.yyy")})

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started
Loading started