CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 date of the day !!!!!!!!!!!!!!!!!!!!!!!!!

Print topic Send  topic

Author Message
Christian et Karen SKARNIAK-MARKLAND
Posted: 01/02/2003, 2:24 PM

I'd like to compare a date in my database (Mysql) with the date of the day -
for exemple in SQL query.

Where .....>= ....

How can i do ??????????

thanks

DonB
Posted: 01/02/2003, 3:18 PM

I'll assume you are using ASP:

The DatePart function will return the day: DatePart ("d",now()) returns "2"
(today is Jan 2nd). If you want the # of days since Jan 1st, use"y" instead
of "d" (on Feb 1st it would return "32").

DonB


"Christian et Karen SKARNIAK-MARKLAND" <cskarniak@free.fr> wrote in message
news:av2e6b$nrt$1@news.codecharge.com...
> I'd like to compare a date in my database (Mysql) with the date of the
day -
> for exemple in SQL query.
>
> Where .....>= ....
>
> How can i do ??????????
>
> thanks
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.