|
Posted by sdowney717@msn.com on 03/11/06 15:02
from this, circdate being a datetime field:
SQLQuery = "select distinct circdate from circdata order by circdate"
I need the distinct date portion excluding the time part.
this has come about when I discovered
I am inserting and updating some datetime values with the same value,
but for some reason, the values are always off by a few seconds. I set
a variable called SetNow assigned to NOW and then set the datetime
fields to this SetNow variable. Then when I collect the distinct date
time I am assuming they will have the same values recorded in
circdate, but no, they are off by several seconds. Makes no sense to me
at all. I tried renaming the variable several times but it makes no
difference at all.
any help appreciated, thanks.
[Back to original message]
|