You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by US...@gea-wiegand.de on 2002/07/05 08:22:45 UTC

date and time on the client side

Hi,

I which to add date and time off the client to a document created on the
server.
Is there any possibility to get it from the request header ?

(Or did I have to do something like:
  <script language="javascript">
  var now = new Date();
  document.write('<input type="hidden" name="date" value="' +
                                 now.getDay + "." + now.getMonth() + "." +
now.getYear() + '">);
</script>

and access this data in the action-Method that creates the document ??
)

Uwe



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>