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 / SelectedDate adds time
Power Apps
Unanswered

SelectedDate adds time

(0) ShareShare
ReportReport
Posted on by

Good Day All,

 

I am using PowerApps Leave request template. The information is written into a OneDrive Excel file. I notice that when patching the StartDate into the Excel, the written date format is like: 2/23/2023 10:00:00 PM

I want to get rid of the time. I am not sure why and how this is added. I understand the code below adds it but I don't know how to set that without the time value.

 

StartDate: LeaveStartDatePicker.SelectedDate

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @itriantafyl If you want only the Date, use the DateValue function,

    DateValue(LeaveStartDatePicker.SelectedDate)

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard