C
chandy
Hi,
I have a datetime+offset as a string and want to get two datetimes
from it; the local and UTC. So far I can only do it by splitting on
the + or - of the offset and creating a new date with and without the
offset. Is there a cleaner way, i.e., using System.DateTime etc. and
not resorting to string splitting? I had read about DateTimeOffset
which seems ideal but this is an ASP.Net 2.0 app and that seems to be
only in Framework 3.5
Chandy
I have a datetime+offset as a string and want to get two datetimes
from it; the local and UTC. So far I can only do it by splitting on
the + or - of the offset and creating a new date with and without the
offset. Is there a cleaner way, i.e., using System.DateTime etc. and
not resorting to string splitting? I had read about DateTimeOffset
which seems ideal but this is an ASP.Net 2.0 app and that seems to be
only in Framework 3.5
Chandy