[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

rodchar

3/28/2007 4:54:00 PM

hey all,
i'm trying to build this query that shows a date. is there a way to show
just the date and not the time?

thanks,
rodchar
2 Answers

Alejandro Mesa

3/28/2007 5:28:00 PM

0

rodchar,

See function "convert" in BOL.

select convert(char(10), getdate(), 101)
go


AMB


"rodchar" wrote:

> hey all,
> i'm trying to build this query that shows a date. is there a way to show
> just the date and not the time?
>
> thanks,
> rodchar

rodchar

3/28/2007 6:14:00 PM

0

thank you.

"Alejandro Mesa" wrote:

> rodchar,
>
> See function "convert" in BOL.
>
> select convert(char(10), getdate(), 101)
> go
>
>
> AMB
>
>
> "rodchar" wrote:
>
> > hey all,
> > i'm trying to build this query that shows a date. is there a way to show
> > just the date and not the time?
> >
> > thanks,
> > rodchar