I ran a test, and unless someone cal tell me exactly where the <!--IMAIL.##Date##-->
Gets it's time from. You are not going to be able to use "Javascript"
Actually, you're making it more complicated than it needs to be. :)
The way I look at it, web messaging displays a date in the format "12/31/2003", and someone wants it in the format "31/12/2003". The "12/31/2003" comes from an IMail variable -- so you can have a JavaScript statement like '$var = "<!--IMAIL.##Date##-->"', which IMail turns into '$var = "12/31/2002"'. Then, you use midstr$ or whatever the JavaScript equivalent is to manipulate it ("Get 3 characters from position 4, then add the first 2 characters, and then add the 4 characters from position 7").
It's a crude description, but if you can get the date from IMail, you can manipulate it in JavaScript. This is assuming that the date that IMail returns is the one you want -- if IMail returns a different date than the one you want, that's a different story.
-Scott
---
Declude JunkMail: The advanced anti-spam solution for IMail mailservers.
Declude Virus: Catches known viruses and is the leader in mailserver vulnerability detection.
Find out what you have been missing: Ask for a free 30-day evaluation.
--- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
