Re: How to compare DateTime Objects?
- From: "clintonG" <csgallagher@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Dec 2005 10:32:58 -0600
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.
Consider all the formatters in this cheat *** [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?
<%= Clinton Gallagher
[1] http://www.dotnetjohn.com/runtime/DateFormats.aspx
"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message
news:MPG.1e13d04080f508ff98cb87@xxxxxxxxxxxxxxxxxxxxxxx
> clintonG <csgallagher@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> Isn't there something to be said about the format of the dates and
>> times being compared with one another or any subsequent operations
>> performed using the given dates and times?
>
> Not entirely sure what you're getting at. DateTimes aren't
> intrinsically formatted, and they're immutable. Can you elaborate?
>
> --
> Jon Skeet - <skeet@xxxxxxxxx>
> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
> If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: How to compare DateTime Objects?
- From: Jon Skeet [C# MVP]
- Re: How to compare DateTime Objects?
- References:
- How to compare DateTime Objects?
- From: conckrish
- Re: How to compare DateTime Objects?
- From: jesper_lofgren
- Re: How to compare DateTime Objects?
- From: Jon Skeet [C# MVP]
- Re: How to compare DateTime Objects?
- From: clintonG
- Re: How to compare DateTime Objects?
- From: Jon Skeet [C# MVP]
- How to compare DateTime Objects?
- Prev by Date: Re: How to access settings from C# in .NET 2.0?
- Next by Date: Escaped string in C#
- Previous by thread: Re: How to compare DateTime Objects?
- Next by thread: Re: How to compare DateTime Objects?
- Index(es):