Dear reader,
By a Date field with Now() as default value the content of the field is date
plus time.
As I need a filter in a query on date only (excluding time) I invented the
following solution:
Field in query DatePart: Format([DateNow];"yyyy") & "-"&
Format([DateNow];"mm")
& "-"&
Format([DateNow];"dd")
Criteria in query "2004-11-07"
It works but it looks to me as complicated to subtract the date part from
content of the date/time field for filtering.
Is there an easier way to use a date only filter in a date/time field?
Tanks for any help.
Kind regards,
Simon