Prova la funzione FormatDateTime.
Sintasse: FormatDateTime(Date,NamedFormat)
Arguments:
Date: Required. Date expression to be formatted.
NamedFormat: Optional. Numeric value that indicates the date/time format used. If omitted, vbGeneralDate is used.
The NamedFormat argument has the following settings:
Constant Value Description
vbGeneralDate 0
vbLongDate 1
vbShortDate 2
vbLongTime 3
vbShortTime 4
Per esempio:
<%=FormatDateTime(now, 4) %>