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 / 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard