J
Jim in Arizona
I've got an access database I'm connecting to using ASP.NET. Several columns
in the various tables of this DB are in a time format of seconds since
12:00:00 1/1/1970. Is there a way to run a query using SQL that I will be
able to make sense of. For instance:
SELECT Column1, Column2 FROM TableA
WHERE Column3 >= #3/30/08# AND Column3 <= #4/3/08#
I naturally don't know what these date ranges would be in seconds since
midnight on Jan 1st, 1970. Is there a method in access SQL that would allow
me do this SQL? Like:
SELECT Column1, Column2 FROM TableA
WHERE #1/1/1970#.AddSeconds(Column3) >= #3/30/08#. AND
#1/1/1970#.AddSeconds(Column3) <= #4/3/08#
I don't know if access SQL supports such a method (I'm guessing it does
not!). The method that I use in the example above is taken from .NET. Is
there something equivalent in access?
TIA,
Jim
in the various tables of this DB are in a time format of seconds since
12:00:00 1/1/1970. Is there a way to run a query using SQL that I will be
able to make sense of. For instance:
SELECT Column1, Column2 FROM TableA
WHERE Column3 >= #3/30/08# AND Column3 <= #4/3/08#
I naturally don't know what these date ranges would be in seconds since
midnight on Jan 1st, 1970. Is there a method in access SQL that would allow
me do this SQL? Like:
SELECT Column1, Column2 FROM TableA
WHERE #1/1/1970#.AddSeconds(Column3) >= #3/30/08#. AND
#1/1/1970#.AddSeconds(Column3) <= #4/3/08#
I don't know if access SQL supports such a method (I'm guessing it does
not!). The method that I use in the example above is taken from .NET. Is
there something equivalent in access?
TIA,
Jim