cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Steelman70
Level 10

Using numbers and dates from SharePoint lists

Here is my take on using numbers and dates from SharePoint lists

 

  1. Number columns will be correctly returned as number type

  2. Dates will be returned as text types, in my case YYYY-MM-DD, hence in order to get a date I decompose the text:
    Date(Value(Left(SP_date, 4)), Value(Mid(SP_date, 6,2)), Value(Right(SP_date, 2)))

  3. However dates will be returned according the SharePoint server time zone and not the user time zone, even if they are dates have no time part.  This is an issue with SharePoint, which also arises for example when you import SharePoint dates into Excel with PowerQuery

  4. Text columns that contain numbers can be converted to a number type by any arithmetic operation or using the Value function

Having played around a bit, here is a summary and some tricks (click to open in popup and then enlarge to full screen)

 

Capture_SP_formats.PNG

1 REPLY 1
Highlighted
Microsoft DeanWang
Microsoft

Re: Using numbers and dates from SharePoint lists

Hi,

 

Thanks for your sharing.

 

It’s helpful to those who meets issue when they’re trying to use numbers and dates from SharePoint lists.

 

Thanks,

 

Dean Wang

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

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