2 Replies Latest reply on May 11, 2006 5:46 AM by gbert

    Displaying date format

      Hello all,

      I am trying to output a date/time value using the following: #DateFormat(dt, "mm/dd/yyyy")#
      The date is entered into the variable 'dt' in the following format: "Mon, 08 Nov 2004 22:33:37 +0000"
      However, I ran into an odd problem, this seems to work well for Mon, Fri, Sat, Sun but when the date is one of 'Tue, Wed, Thu' (ie. 'Tue, 19 Oct 2004 19:15:22 +0000' ), I get this error message:

      The value "Tue, 19 Oct 2004 19:15:22 +0000" could not be converted to a date.

      Any idea why this is happening only for specific days of the week?

      Thanks for any assistance.