cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wen90
Level: Powered On

Text Date Field Input

Hi, 

 

Please see attached, I have tried all the date to text formulas on the community forums but my field still wont change. 

 

I have attached two formulas I have tried. The date field is calculated from my SharePoint list. From a calculated column, 

 

What am I doing wrong? 

 

Thanks for the help!

1 REPLY 1
shailendra74
Level 10

Re: Text Date Field Input

Hi @wen90 

 

You need to use DateValue or DateTimeValue before converting to required format:

 

AddColumns(ShowColumns('SP List', "Title", "ID", "CalcField", "CalcDateTime"), 
"NewCalcField", Text(DateValue(CalcField), "[$-en-US]mm/dd/yyyy"),
"NewCalcDateTime", Text(DateTimeValue(CalcDateTime), "[$-en-US]mm/dd/yyyy hh:mm"))

CalcField - Date and Time calculated field with Date Format only 

CalcDateTime - Date and Time calculated field  with Date & Time Format in my list

 

Thanks.

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 223 members 4,761 guests
Please welcome our newest community members: