Gids
unread,Nov 16, 2009, 11:21:52 AM11/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Datejs - A JavaScript Date Library
Hi,
I am using date.js as part of a greasemonkey script and want it to
parse a date from the target page which I have set in a variable.
However, I can't seem to get this to work.
My current code looks like:
var d1 = Date.parse(myvariablename);
alert(d1.toString('dddd, MMMM d, yyyy'));
However, this doesn't seem to use the string from the variable. Sure I
am missing something pretty basic, but any guidance would be
appreciated.
Thanks,
Gids