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 Automate / How to formatt datetim...
Power Automate
Answered

How to formatt datetime-values in "Select" statement

(0) ShareShare
ReportReport
Posted on by 56

Hi there,

 

I have a SharePoint list with time-recordings. From Date/Time, To Date/Time and Job done.

 

I want to to create a timesheet as PDF from this list, which works fine, execpt the formatting of the date/time values. 

IF  I try to use and expression, that formatts a date/time value to say 'hh:mm' (

formatDateTime(outputs('Get_item')?['body/Von'], 'hh:mm' )

I get an error "

Correct to include a valid reference to 'Get_item' for the input parameter(s) of action 'select'"

 

Anyone any ideas?

 

Best, Uwe

 

I use the select function. I IScreenshot 2023-01-30 082451.png

Categories:
I have the same question (0)
  • Verified answer
    v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @UweGrunewald ,

    Please try:

    formatDateTime(item()?['Von'], 'hh:mm' )

     

    Best Regards

    Cheng Feng

     

  • UweGrunewald Profile Picture
    56 on at

    You saved my day. A million thx

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard