> anyone remember off the top of their heads how to get the date string > formatted like this: > > January 1st, 2002
<% dim thisyear,thismonth,thisday,suffix,todayis thisyear=year(date) thismonth=monthname(month(date)) thisday=day(date) select case right(thisday,1) case "1" if thisday=11 then suffix="th" else suffix="st" case "2" if thisday=12 then suffix="th" else suffix="nd" case "3" if thisday=13 then suffix="th" else suffix="rd" case else suffix="th" end select todayis=thismonth & " " & thisday & suffix & ", " & thisyear response.write todayis %> HTH -- Lonnie Kraemer ----------------------------------------- --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
