<%@ LANGUAGE = Javascript %>
<%
Function MeseIT(strDate){
var intLen
var strOutput, strChar
}
strChar = trim(month(strDate))
switch (strChar){
case "1" strOutput="Gennaio"
case "2" strOutput="Febbraio"
case "3" strOutput="Marzo"
case "4" strOutput="Aprile"
case "5" strOutput="Maggio"
case "6" strOutput="Giugno"
case "7" strOutput="Luglio"
case "8" strOutput="Agosto"
case "9" strOutput="Settembre"
case "10" strOutput="Ottobre"
case "11" strOutput="Novembre"
case "12" strOutput="Dicembre"
}
MeseIT = strOutput{
}
Function ShortMeseIT(strDate)
var intLen
var strOutput, strChar
strChar = trim(month(strDate))
switch (strChar){
case "1" strOutput="Gen"
case "2" strOutput="Feb"
case "3" strOutput="Mar"
case "4" strOutput="Apr"
case "5" strOutput="Mag"
case "6" strOutput="Giu"
case "7" strOutput="Lug"
case "8" strOutput="Ago"
case "9" strOutput="Set"
case "10" strOutput="Ott"
case "11" strOutput="Nov"
case "12" strOutput="Dic"
}
ShortMeseIT = strOutput {
}
Function GiornoSettimanaIT(strDate){
var intLen
var strOutput, strChar
}
strChar = trim(weekday(strDate))
switch (strChar){
case "1" strOutput="Domenica"
case "2" strOutput="Lunedì"
case "3" strOutput="Martedì"
case "4" strOutput="Mercoledì"
case "5" strOutput="Giovedì"
case "6" strOutput="Venerdi"
case "7" strOutput="Sabato"
}
GiornoSettimanaIT = strOutput{
}
Function ShortGiornoSettimanaIT(strDate){
var intLen
var strOutput, strChar
}
strChar = trim(weekday(strDate))
switch (strChar){
case "1" strOutput="Dom"
case "2" strOutput="Lun"
case "3" strOutput="Mar"
case "4" strOutput="Mer"
case "5" strOutput="Gio"
case "6" strOutput="Ven"
case "7" strOutput="Sab"
}
ShortGiornoSettimanaIT = strOutput{
}
Function Ora(strTime){
var intLen
var strOutput, strChar
}
strChar = trim(hour(strTime))
if len(strChar) < 2 {
// strOutput="0" & strChar
// else
// strOutput= strChar
// return false
// }
Ora = strOutput{
}
Function Minuto(strTime){
var intLen
var strOutput, strChar
}
strChar = trim(minute(strTime)){
}
if len(strChar) < 2
// strOutput="0" & strChar{
// else
// strOutput= strChar
// return false
// }
Minuto = strOutput {
}
SQLQuery="Select NewsID, nwsData, nwsTitolo, nwsDescrizione, nwsFotoFileName, nwsFoto, nwsFotoDescrizione, nwsCreated from News1 order by nwsOrdine"
set Rs = objConnection.Execute( SQLQuery )
%>