Re: dateTime Manupulations

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 10/20/04


Date: Wed, 20 Oct 2004 20:46:59 +0200


> Cor,
> (shakes head)
>
> Oh! really, then we must be reading different messages!
>
> Reny stated:
> <quote>
> Hi,
> I have a variabe in the format of 'DD-MON-YYYY HH:MI AM' .I want to add a
> miniute to it.How can i do that?
> by manipulation i want to make '01-JUNE-2004 11:59 PM' to '02-JUNE-2004
> 12:00 AM'
> How do i do that?
> Reny

And what is wrong with my answer than packed in a sample that would work in
every culture setting. (Because of all discussions I tested it of course
before)

MessageBox.Show(CDate("01-JUNE-2004 11:59 PM").Addminutes(1).ToString)

Cor



Relevant Pages

  • RE: I think C# is forcing us to write more (redundant) code
    ... After reading all the replies, I think my problem now turns into another ... Does the COR provide such a mechanism to ensure call ... Reflector does not give the 'init' flag. ... I guess the init flagtells the COR to initialize all local variables in ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Access vs SQL
    ... You confuse me to no end Cor, because you write such off the wall things. ... who isn't reading what is being said and is coming up ... Access does not support Stored Procedures to the extent that SQL does. ... Access is a product that wraps a JET database and extends it's UI via VBA, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Try Catch Finally , pointers and Vb.net 2005 compiler warnings
    ... Cor, ... | What do you do if you are reading 100000 rows and at 50000 the server goes ... | I assume that the datareader is returning row by row and not one complete ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Lambda expression - can VB Net do this?
    ... Cor I am just trying to understand these features and this article came up as part of my reading. ... int increment() { ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Deserializing XML into an object
    ... I have never noticed the time of the reading of this kind of dataset from ... disk. ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.general)