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 / Formatting date retrie...
Power Apps
Answered

Formatting date retrieved from google calendar

(0) ShareShare
ReportReport
Posted on by 6

I was succesful in connecting my apps to my google calendar API but currently stuck on how to format the date into a more representative format. I had tried using several options but yet to solve this issue of mine

 

The formula that I had tried was    Text(start,"[$-en-US]mm-dd-yyyy") which I learned from a webinar. It did not show any error in the formula but did not change the date format either. Hopefully someone could enlightened me with a sollution 

Categories:
I have the same question (0)
  • AndyPennell Profile Picture
    Microsoft Employee on at

    The first thing to check is the actual type of the variable start: if it is in fact a string then you will need to turn it into a DateTime (using the DateValue) first, then you can reformat it using Text in the manner you listed. If problems persist please share the value you are seeing for start.

  • Amf Profile Picture
    6 on at

    Good day Mr Andy,

     

    Thank you for your reply. I'm not sure on the format of the date in google calendar and how to go about searching for it. However just to better describe my current stumbling block. Here is a screenshot of what I'm currently testing out.

     

     

    Sketch.png

     

     

     Hopefully this better describe my situation. I'm currently exploring other connections to understand what powerapps can achieve. Thank you sir and have a wonderful day ahead Smiley Happy

     

  • Verified answer
    AndyPennell Profile Picture
    Microsoft Employee on at

    Hard to be sure from your screenshot, but I think dates are arriving as utc format strings. If true, then try this formula:

    Text(DateValue(start), "[$-en-US]yyyy-mmm-dd")

    This takes the Google string, parses it with DateValue to turn it into a DateTime type, then uses Text to format that DateTime as desired.

  • Amf Profile Picture
    6 on at

    Thank you very much Mr Andy, it  worked perfectly!  Smiley Happy Learned  I new thing today. You have a great day ahead.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard