fnFormatDate(...) DESCRIPTION This function takes a date data type or a string in date format and returns a string value formatted as '3 Mar 1999' EXAMPLE <%@ Language=VBScript %> <% Response.Buffer = true %> <% '-->-->-->-->-->-->-->-->--> Response.Write(fnFormatDate("1/21/2000")) '--<--<--<--<--<--<--<--<--< %> RESULTS 21 Jan 2000 PARAMETERS dtSome-- {string/ date} the value to be formatted STATUS working, tested LAST MODIFIED 7 April 2000 PROGRAMMER Matthew Bishop LOCATION (203.62.157.45) c:http://www.geocities.com/matth3wbishop/eg/asp/ COMMENTS: The function first assumes that the dates are in 'American' format ie Month/Day/Year but if that is impossible it will assume 'English' format (Date Separators allowed '/', '-', ' ', ','). If the value can not be converted to a DATE then the original value is returned.