Og hvis du vil have resultatet med nullet, kan du bruge dette:
Dato = FormatDateTime(Dato,vbShortDate) MyDay = Day(dato) If Len(MyDay) = "1" Then MyDay = "0" & MyDay End If MyMonth = Month(Dato) If Len(MyMonth) = "1" Then MyMonth = "0" & MyMonth End If MyYear = Year(Dato) MyYear = Right((MyYear),2) Dato = MyDay & "." & MyMonth & "." & MyYear
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.