Datetime column - help with format

  • Hi,

    I have this datetime column, I would like to get the date in this format - '1/15/2007 10:15AM', like in ASP.Net doing a ToShortDateString() + " " + ToShortTimeString().

    I bind the query results to a datalist, so I prefer doing the formatting in the backend. Is this eay to do?

    Thanks.

  • Read "CAST and CONVERT" in BOL.

    _____________
    Code for TallyGenerator

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply