Trying to use the built in ToUniversalTime() method on a DateTime variable but I get the following error:
DateTime? Does not contain a definition for ToUniversalTime and no accessible extension method ToUniversalTime accepting a first argument of DateTime? could be found
I’m guessing it’s because it’s nullable? In which case, how do I fix this?
2