No, I think the answer if any would be parse with g and reformat with r.
I've got a real problem I've discovered and nobody has been able to tell
me the facts yet.
Using the 2.0 Website Administrator Tool e (WAT) addes new users to the
aspnet_Users table (Membership) in GMT(00:00) when the server the WAT runs
on is for example in GMT(-06:00). That is WAT records the time 6 hours
into the future. I'll never know what time it was in the user's local time
as a result.
I need to work with GMT as it is the format required by syndicated feeds
but I have no experience with conversions, comparsions and magic tricks
like trying to determine what the local time was when a user was added to
the Membership database.
I haven't even been able to learn if the WAT is recording time as would be
expected as I always assumed the "standard" was to record time using the
time of the server or getting it from the client and using that value.
<%= Clinton Gallagher
Jon Skeet said:
clintonG said:
Well, I'm wondering about values represented by or returned by a current
date, start date and end date as the OP asked about and started thinking
about comparison methods when formatters may have been involved.
Well, I'd hope that by the time the OP has the date/times as DateTimes
rather than strings (if they ever were strings) they'd be correct - so
whatever formatting has happened before *should* be irrelevant.
Consider all the formatters in this cheat sheet [1] motivated me to
wonder
if there is a "transformation" methodology that has been developed or
can be
learned. How to transform from 'g' to 'r' for example?
Parse with g and reformat with r? Sounds like the easiest way to me
I get the feeling I'm still missing your point.