Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 43231 invoked from network); 29 Jan 2011 04:33:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jan 2011 04:33:46 -0000 Received: (qmail 4288 invoked by uid 500); 29 Jan 2011 04:33:44 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 4077 invoked by uid 500); 29 Jan 2011 04:33:41 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 4069 invoked by uid 99); 29 Jan 2011 04:33:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jan 2011 04:33:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hou1nxb@gmail.com designates 209.85.216.48 as permitted sender) Received: from [209.85.216.48] (HELO mail-qw0-f48.google.com) (209.85.216.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jan 2011 04:33:34 +0000 Received: by qwe4 with SMTP id 4so4029543qwe.35 for ; Fri, 28 Jan 2011 20:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=mYpg1UQljz6ze9vM1fBp9rYBn6oxkUuR/PQDePA9nMA=; b=dHkkZyEvGzEu55+2oms94JshhcaEltwN7W04vc5r/ZvK0f8QHKmWsZDxKDQ2p34rB3 dZvAUPBr3w3Nhbdz31+qqNUuXq9Z+jg1ySAKCLmmc6K+Ne/Q9Q6mkQbYL0fBmetS1/kY OPA2UFQswMXDASrRtOUprIAC9Ng9JEs8gV5cY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ctwgU0WovFzs8r+ON4PQ/i8tUUGOm0CJyvnpSfwKOGOBSCNX8Mfr/p/4XEaluYtUeH OLGgiPHzN/g1ipO+qeFMsXtmnY7w8dvKdtUILI+Ip7V16CL0EqnM0jrmd0kusA9W0p8P vqf/tLqFCzbcnBnItfHtgPdgDVSdzrtg261Qc= MIME-Version: 1.0 Received: by 10.229.229.139 with SMTP id ji11mr1655626qcb.174.1296275325566; Fri, 28 Jan 2011 20:28:45 -0800 (PST) Received: by 10.229.90.203 with HTTP; Fri, 28 Jan 2011 20:28:44 -0800 (PST) Date: Fri, 28 Jan 2011 22:28:44 -0600 Message-ID: Subject: Another Date Time Format From: Nick Broadhurst To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=0016364ed5d6512ca4049af49e17 --0016364ed5d6512ca4049af49e17 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am displaying two date-time fields from my demographics object which populates from the DB: Both fields show the full date and time. Perfect. I need the creation date to go back in unchanged on form submit. Tried this: But only populates the date into hidden field and when it goes back into DB, the time is 00:00:00. No Good. Is there a version of this: that I can use a date-time function also to get the hidden field to use full date-time? I haven't messed formatting the the field in my action first because it is already in that format as shown by the s:date displayed values. Or is there a better way to do it? Thanks, Nick --0016364ed5d6512ca4049af49e17--