No, just take advantage of the power of the RDBMS you use.  One note, this
will not give you another day's oirders.  GetDate is an MS SQL server
function.

On 8/21/06, Will Tomlinson <[EMAIL PROTECTED]> wrote:
>
> I went with this one - It worked first time:
>
> WHERE Year(orderdate) = Year(GetDate()) AND Month(orderdate) =
> Month(GetDate()) AND Day(orderdate) = Day(GetDate())
>
> Thanks to everyone for their help. It was important that I log the exact
> time of the sale, but I guess I've made my work harder using one field for
> it.
>
> Thanks much!
>
> Will
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250533
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to