Skip to main content
Participant
January 28, 2009
Question

CF8 Default date

  • January 28, 2009
  • 1 reply
  • 292 views
I am trying to make a form that will submit information including a date. I am putting #now()# as the default for the text field. When i open the form up, i get the following:
{ts '2009-01-28 14:43:54'}
Is there a way i can get a default value of todays date in the following format?
1/28/2009

Any help is much appreciated
    This topic has been closed for replies.

    1 reply

    Inspiring
    January 28, 2009
    joeny wrote:
    >
    > Any help is much appreciated
    >

    One could look at their ColdFusion documentation and under "Date and
    Time Functions" one would read about all types of useful functions such
    as dateFormat().