I'm trying to get the current date to compare against a Dublin core meta tag value. I can do this with JavaScript and PHP, but I would like to do this in Cocoon. Is there any way to get the current date in Cocoon and use it to compare against an element attribute value. I know enough about XSP, XSLT, etc to do the comparison. I just need to know if I can get the current date.
Gary, in your XSP do:
Date newDate = new Date();
in your flowscript do:
var newDate = new Date();
So in reply to yourr question, the answer is yes ;-)
regards
beya
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
