3 Replies Latest reply on Apr 21, 2008 7:52 PM by -==cfSearching==-

    Converting string to Date

    Level 7
      Can coldfusion convert the following date string query variable i have
      20080418 to a formatted date.

      eg; 15-Apr-2008


      Or does my string have to be something like 20008/04/18 or 2008-04-18


      This dosent work below, I dont have the quotes in the right places I think.

      Thanks
      B

      #dateformat("query.orderdate", "d-mmm-yyyy")#