Results 1 to 2 of 2

Thread: datetime

  1. #1
    Join Date
    May 2004
    Posts
    21

    Red face Unanswered: datetime

    Is there a way when selecting data from a table to display datetime without time? I.e 7/15/1996 12:00:00.000 AM display only 07/15/1996

  2. #2
    Join Date
    Nov 2002
    Posts
    207
    This should do the trick for you...

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

    05/13/2004

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •