Here is my take on using numbers and dates from SharePoint lists
- Number columns will be correctly returned as number type
- 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)))
- 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
- 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)
