cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Richard-Eckler
Level: Powered On

Created Date converted to Number in flow

I have an SP list.  It's several thousand lines long and growing everyday.

 

I would like to convert the Created Date of all existing item to a Number- representing date and Time.  

 

I've figured out how to do that in Excel and Powerapps, but not here in flow.

 

Ie...how do I convert a datetime stamp to a number?  What formula do i use?

 

Anyone willing to give me an idea?

 

thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Created Date converted to Number in flow

 

Hi @Richard-Eckler ,

 

Please try this method:

div(sub(ticks(outputs('Compose')),ticks('1899-12-30')),864000000000)

77.PNG

 

Best Regards, 

Community Support Team _ Barry
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

2 REPLIES 2
Super User
Super User

Re: Created Date converted to Number in flow

@Richard-Eckler 

Hi there.  I think the thing you're looking for is Ticks().  Check out this article on Date Math.  I go into it a little bit, which may help you out.

 

Keep us posted.

 

-Ed-

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

Community Support Team
Community Support Team

Re: Created Date converted to Number in flow

 

Hi @Richard-Eckler ,

 

Please try this method:

div(sub(ticks(outputs('Compose')),ticks('1899-12-30')),864000000000)

77.PNG

 

Best Regards, 

Community Support Team _ Barry
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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,392)