Re: convert date and time formats

Tech-Archive recommends: Fix windows errors by optimizing your registry



Cor,

"Cor Ligthert" <notmyfirstname@xxxxxxxxx> schrieb:
Wake up, Cor. We are talking about converting a date to a string only. VB.NET's methods for doing that are not stronger than those provided by the .NET Framework.

I wrote this expressely because you are writting this forever in this way about other functions as Mid, Len, and whatever.

I use VB.NET's own functions whenever possible.

However when the "parse" comes than you have another opinion.

I hardly ever parse a date without specifying a certain date format. Typically in Windows Forms applications processing user input I prefer a DateTimePicker control for choosing dates over a textbox and string parsing. When reading dates from a file, I use 'DateTime.ParseExact' to make sure the data is read the way I want it to be read on every system.


--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


.



Relevant Pages

  • Re: SP3 potential problem
    ... Catalyst Control Center at ... Open Windows Explorer and check for the two files. ... I have not been able to download Net Framework ... item that appear on the support site for my machine. ...
    (microsoft.public.windowsxp.basics)
  • Re: SP3 potential problem
    ... Open Windows Explorer and check for the two files. ... I have not been able to download Net Framework ... item that appear on the support site for my machine. ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)
  • Re: SP3 potential problem
    ... Windows Explorer and I get a message to send the info to MS. ... Remove all SP2 and later Microsoft Net Framework items and then ... Start, Help and Support, Keep your Windows up- to-date with Windows ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)
  • Re: SP3 potential problem
    ... Windows Explorer and I get a message to send the info to MS. ... Remove all SP2 and later Microsoft Net Framework items and then ... Start, Help and Support, Keep your Windows up- to-date with Windows ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)
  • Re: Reporting tools
    ... The basis is the .Net framework, which is a library of functions and objects ... that sits on top of windows. ... On top of this is the CLR - which is the common language environment - you ... actual client can pretty much be any html4/css compliant browser. ...
    (comp.databases.pick)