Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Date into Form

    Trying to get todays date e-mailed from a form. Would like to bind the date
    to a hidden field.
    Not sure how this is being done.

    I am able to declare a variable and also am able to display it.

    If i use MM's application variable and set it to date, than i get something
    like Saturday, December 30, 1899

    Thanks


    Piet van Hogdalem Guest

  2. Similar Questions and Discussions

    1. populate date in a form
      I am creating a form in dreamweaver and would like to have the date populate a field when I email it. The page will be saved as an asp page. Can...
    2. inserting date in form list
      I want to make a date list that lists the year but instead of adding every year on a line I want to make a loop do it at runtime....any ideas?
    3. date & time in form field
      I want to put the current date and time into a form field which will them be submitted to a database. Is this possible? If so, what code should I...
    4. Date display on a form
      This is really strange. I have two databases created in Access and I used the 'Insert' then 'Date and Time' to insert the current date on the main...
    5. Making a date criteria in a form
      Hello Everyone, I have an Access database that I have already constructed a very cool query from and a report to go with the query. What I need...
  3. #2

    Default Re: Date into Form

    It depends on the language you are using.

    If ASP you can simply include a Hidden field and set its Value to

    <%=Date()%> or <%=Now()%> if you want the time as well.

    You would need to add in the LocalID code if not US, as by default it will
    show MM/DD/YYYY.


    Originally posted by: Newsgroup User
    Trying to get todays date e-mailed from a form. Would like to bind the date
    to a hidden field.
    Not sure how this is being done.

    I am able to declare a variable and also am able to display it.

    If i use MM's application variable and set it to date, than i get something
    like Saturday, December 30, 1899

    Thanks






    CarlGrint Guest

  4. #3

    Default Re: Date into Form

    On 06 Mar 2005 in macromedia.dreamweaver.appdev, Piet van Hogdalem
    wrote:
    > Trying to get todays date e-mailed from a form. Would like to bind
    > the date to a hidden field.
    > Not sure how this is being done.
    >
    > I am able to declare a variable and also am able to display it.
    >
    > If i use MM's application variable and set it to date, than i get
    > something like Saturday, December 30, 1899
    Tell us more:
    - What are you trying to do? The e-mail will be time-stamped, so why do
    you need a separate field with the date in it?
    - What method are you using to create the e-mail?
    - What serverside language(s) do you have available?

    --
    Joe Makowiec
    [url]http://makowiec.net/[/url]
    Email: [url]http://makowiec.net/email.php[/url]
    Joe Makowiec Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139