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

How to get hours from datetime field in Flow? Pls help

I need to get the hours from the date time field in ms flow, pls help
2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: How to get hours from datetime field in Flow? Pls help

Hi @Vignesh_M 

 

Use expression formatdatetime and then get the hour (hh) information

formatDateTime(utcNow(),'hh:mm tt')
 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Community Support Team
Community Support Team

Re: How to get hours from datetime field in Flow? Pls help

Hi @Vignesh_M ,

 

If you want set the set minutes default to 0, you could take a try with expression below:

formatDateTime(utcNow(),'yyyy-MM-ddTHH:00:ssZ')

 

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Super User
Super User

Re: How to get hours from datetime field in Flow? Pls help

Hi @Vignesh_M 

 

Use expression formatdatetime and then get the hour (hh) information

formatDateTime(utcNow(),'hh:mm tt')
 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Vignesh_M
Level: Powered On

Re: How to get hours from datetime field in Flow? Pls help

thank you for the solution. One more question how to set minutes  default to 0 'zero' in MS FLOW.


@RezaDorrani wrote:

Hi @Vignesh_M 

 

Use expression formatdatetime and then get the hour (hh) information

formatDateTime(utcNow(),'hh:mm tt')
 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly


 

Community Support Team
Community Support Team

Re: How to get hours from datetime field in Flow? Pls help

Hi @Vignesh_M ,

 

If you want set the set minutes default to 0, you could take a try with expression below:

formatDateTime(utcNow(),'yyyy-MM-ddTHH:00:ssZ')

 

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand 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.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 342 members 2,877 guests
Please welcome our newest community members: