Sharepoint.Utility replacements
I am using different Sharepoint.Client nuget packages due to different infrastructure targets and I cannot find any resource describing the differences between them.
But more importantly, some of them do not have an SPUtility class. Sounds like a cheesy design, but there are some helpful methods like the one I'm using
SPUtility.CreateISO8601DateTimeFromSystemDateTime(DateTime)
My question is, does anyone know where I should be looking for the same functionality, or is it dead and buried?
+3
source to share
1 answer
The same can be done with
DateTime date = DateTime.Now;
date.ToString("yyyy-MM-ddTHH:mm:ssZ");
But leaving this open for one day, because I would like a more complete answer, fx. if the same ISO format is in a library elsewhere or if someone has a better way to pass generic DateTime data to SP.
+2
source to share