J
Jeff Freilich
Hi All
I know there have been other posts on this that I have been reading up
on but I have a couple of questions:
I normally like to use default value on my date fields as Date() as
opposed to Now() as it simply stores the date - which makes it much
easier to Query a specific date or date range - "Between Jan 1, 2009
and Feb 1, 2009"
I also want to store the time and my first thought was to create a new
field "MyTime" to store the time - that would enable me to continue to
use my current MyDate field the same way I have been - but the more I
read (which makes sense) it is not proper to store 2 fields of what
amounts to the same information (My Time would also be storing the
date information as well)
So while I see that it is best to use Now() and store all information
(Date and Time) in the same field - I have a couple of versy specific
questions:
How can I query the records to only find records added on a given date
when Now() is used instead of Date? - Do I have to somehow parse out
only the date - or can I query for just the date - when I use "Between
Feb 6 and Feb 6" it does not pick up the values with that date
Any thoughts or help is appreciated
Thanks,
Jeff
I know there have been other posts on this that I have been reading up
on but I have a couple of questions:
I normally like to use default value on my date fields as Date() as
opposed to Now() as it simply stores the date - which makes it much
easier to Query a specific date or date range - "Between Jan 1, 2009
and Feb 1, 2009"
I also want to store the time and my first thought was to create a new
field "MyTime" to store the time - that would enable me to continue to
use my current MyDate field the same way I have been - but the more I
read (which makes sense) it is not proper to store 2 fields of what
amounts to the same information (My Time would also be storing the
date information as well)
So while I see that it is best to use Now() and store all information
(Date and Time) in the same field - I have a couple of versy specific
questions:
How can I query the records to only find records added on a given date
when Now() is used instead of Date? - Do I have to somehow parse out
only the date - or can I query for just the date - when I use "Between
Feb 6 and Feb 6" it does not pick up the values with that date
Any thoughts or help is appreciated
Thanks,
Jeff