<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
I'm sure there's a better way to do it, but here's an example of a setting a string variable to put today's date in UK format:<BR>
<BR>
String.valueOf( D[now] .dom) + "/" + String.valueOf( D[now] .month) + "/" + String.valueOf( D[now] .year)<BR>
<BR>
If you already have a string variable with the date string in it, try:<BR>
<BR>
Set strDateUK = (strDateUS.substring(3,5)) + "/" + (strDateUS.substring(0,2)) + "/" + (strDateUS.substring(6,10))<BR>
<BR>
Bryan<BR><BR>> Date: Mon, 21 Jul 2008 17:29:12 +0100<BR>> From: kevin@gannons.net<BR>> To: cisco-voip@puck.nether.net<BR>> Subject: [cisco-voip] IPCC Express Script date format<BR>> <BR>> I have a script that records some stats to file using keyword<BR>> transform and a write to<BR>> file/DB. The problem is the third party application needs the dates in UK format<BR>> rather than the US format ?<BR>> <BR>> Any help much appreciated.<BR>> <BR>> Thanks & Regards<BR>> Kevin<BR>> _______________________________________________<BR>> cisco-voip mailing list<BR>> cisco-voip@puck.nether.net<BR>> https://puck.nether.net/mailman/listinfo/cisco-voip<BR><BR><br /><hr />Use video conversation to talk face-to-face with Windows Live Messenger. <a href='http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008' target='_new'>Get started.</a></body>
</html>