Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    3

    Unanswered: Returning a Date in this format DD/MM/YYYY

    I basically want to return a date in DD/MM/YYYY format.

    SELECT firstname, dbo.FormatDate(registrationdate) from T_Users

    Is there an SQL Function that allows date formatting?

    Thanks.

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    In MS-SQL, that would be:
    PHP Code:
    SELECT firstnameConvert(CHAR(10), registrationdate103)
       
    FROM T_Users 
    -PatP

Posting Permissions

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