Salve a tutti.
Avrei bisogno di un vostro aiuto.
Spiego: ho un codice che mi riporta in schermo degli articoli con immagine e data. Ora il formato data è numerico ma io vorrei che fosse ad esempio 23 Febbraio 2011, piuttosto che 23/02/11.
Ho il seguente codice:
codice:
<% ' PERCORSO DEL DATABASE url_DB = "driver={Microsoft Access Driver (*.mdb)};dbq=" & server.mappath("/.../..../.......mdb") Set Conn = Server.CreateObject("ADODB.Connection") conn.Open url_DB Set RecSet = Server.CreateObject("ADODB.Recordset") ' PRELEVA GLI ULTIMI 10 NEWS DAL DATABASE (SE SONO PRESENTI) SQL = "SELECT TOP 4 * FROM .....
ORDER BY ID DESC" RecSet.Open SQL, Conn, adOpenStatic, adLockOptimistic
' CONTROLLA SE SONO PRESENTI NEWS NEL DB
If RecSet.Eof = False Then %>
<div class="...."> <% ' VISUALIZZA LE PRIME 5 NEWS
Do until RecSet.Eof %>
[img]<%=RecSet([/img]" alt="" /> "><%=RecSet("titolo")%><div class="Data2"> <%=RecSet("data")%></div>
<%=RecSet("Introduzione")%></p>
<% RecSet.Movenext Loop %>
<% End if RecSet.Close Conn.Close Set Conn = Nothing Set RecSet = Nothing %>
Avete suggerimenti??
Grazie in anticipo.