- Function FormateDate()
- datestr = Split (Date,"/")
- If Len(datestr(1)) = 1 Then
- months = "0"&datestr(1)
- Else
- months = datestr(1)
- End If
-
- If Len(datestr(2)) = 1 Then
- dates = "0" &datestr(2)
- Else
- dates = datestr(2)
- End If
- FormateDate = datestr(0) & months & dates
- End Function
复制代码
|