function hexDateConvertLong(intDate) {
return DateFormat(CreateDate(Left(ToString(pubdate),4), Mid(ToString(pubdate),5,2), RIght(ToString(pubdate),2)), "mmmm d, yyyy");
}
function hexDateConvertShort(intDate) {
return DateFormat(CreateDate(Left(ToString(pubdate),4), Mid(ToString(pubdate),5,2), RIght(ToString(pubdate),2)), "mmm d, yyyy");
}
// 11/12/02 11:21
function UTimeConvert(converteddate) {
thedate = DateFormat(CreateODBCDate(converteddate), "ddd. mm/d/yy");
thetime = TimeFormat(CreateODBCTime(converteddate), "hh:mm tt");
both = thedate & " " & thetime;
return both;
}
// August 20, 2002
function UTimeConvertDate(converteddate) {
return DateFormat(CreateODBCDate(converteddate), "mmmm d, yyyy");
}