middletree wrote:
> Is there a script that will populate, with a click, a textbox with the
> equivalent of the ASP/VBScript Now() function? In ohter words, I'd like it
> to be in this format:
>
> 7/25/2005 10:58:39 AM
VBScript's Now result is locale dependent, for instance on my system I
get e.g.
25.07.2005 18:52:51
As for JavaScript, you get a Date object with current date and time with
var now = new Date();
then you need to write your own function to create some output format
like you want.
--
Martin Honnen
http://JavaScript.FAQTs.com/