web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : bdmzy+C3ow8guyQ6snmaCR
Power Automate - Building Flows
Answered

How to formatt datetime-values in "Select" statement

Like (0) ShareShare
ReportReport
Posted on 30 Jan 2023 07:31:24 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

I have the same question (0)
  • Verified answer
    v-chengfen-msft Profile Picture
    on 30 Jan 2023 at 07:39:35
    Re: How to formatt datetime-values in "Select" statement

    Hi @UweGrunewald ,

    Please try:

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

     

    Best Regards

    Cheng Feng

     

  • UweGrunewald Profile Picture
    56 on 30 Jan 2023 at 08:22:14
    Re: How to formatt datetime-values in "Select" statement

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 655 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 371 Moderator

#3
chiaraalina Profile Picture

chiaraalina 276

Last 30 days Overall leaderboard
Loading complete