I'm trying to convert my DateTime to the following format:
ex.:
2016-01-13T11:11:11Z
But ToString("u") gives 2016-01-13 11:11:11Z
I need the letter T
also between date and time. Is there a way to accomplish this?
I'm trying to convert my DateTime to the following format:
ex.:
2016-01-13T11:11:11Z
But ToString("u") gives 2016-01-13 11:11:11Z
I need the letter T
also between date and time. Is there a way to accomplish this?