VB DateTime.Parse vs. Format

  • Thread starter Thread starter Lucas Tam
  • Start date Start date
Lucas Tam said:
Is there an advantage to using DatTime.Parse vs. Format?

The first converts a string to a Date, the latter converts a value (not only
dates) to a string - if I understand you right.
 
Lucas,

Is there an advantage to using DatTime.Parse vs. Format?

In normal circumstances this kind of operations takes ignorable time in
comparison to intern operations on the screen. So that you in my opinion
only have to think about what is for you the most efficient and the most
readable after a while.

I shall start thinking about this kind of things, when a program has to do
1.000.000.000 transactions in one hour or more.

Cor
 
Back
Top