A date is not equal to a date????

L

Lloyd Sheen

Below is the output from command window. This shows values of variables and
result of comparison.

Make no sense except to dot.net.

Any ideas??

?pofile
#11/11/2003 12:39:22 PM#
?pdtdbdate
#11/11/2003 12:39:22 PM#
?pofile=pdtdbdate
False

Lloyd Sheen
 
B

Bob

Lloyd Sheen said:
Below is the output from command window. This shows values of variables and

<snip>

DateTimes that look equivalant are not necessarily equal, DateTime's basic unit
is 100 nanoseconds. In VS.Net's help you can find more information and an
example on how to compare roughly equivalant DateTimes.

DateTime structure, about DateTime structure
help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033

HTH,
Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top