I'm having problems converting a string in the format "yyyy-MM-ddZ" using VB.net.
For example, I have the line "2007-10-21Z".
Using CDate or TryParse comes out before 10/20/2007 instead of 10/21/2007.
I do not understand how Z affects the date string, so when analyzing it, the result is the day before.
From what I understand, Z indicates a zero time zone. But the date string has no time information. How it works?
source share