cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sarath_123
Helper I
Helper I

Dates need to have zero for single digit dates

Hi Team,

I am using PowerApps and MS PowerAutomate in my project.

I am displaying dates in my application like start time , end time.

The date time sending from Flow is like this "08/01/2021" But the date time coming from Application is having "8/1/2021"

How to make the datetime consistent like "08/01/2021" from powerapps.

Please suggest.

Thanks-Sarath

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User III
Super User III

If the date on Datepicker, put this formulas in the Format property;

"mm/dd/yyyy"

 

If a Textbox;

Text(Textbox1.Text,"mm/dd/yyyy")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

2 REPLIES 2
gabibalaban
Super User II
Super User II

Hi @sarath_123 ,

Do you need this data as a Date type or String ? If you need a string, use:

 Text(answerFromFlow, "mm/dd/yyyy")

If you need a Date type is better to leave as it is. 🙂

 

Hope it helps !

eka24
Super User III
Super User III

If the date on Datepicker, put this formulas in the Format property;

"mm/dd/yyyy"

 

If a Textbox;

Text(Textbox1.Text,"mm/dd/yyyy")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (24,750)