Ich habe ein VB Script das eine Textdatei von einem Ftp runterlädt und dann einen Zeitstempel an die Datei anhängt.
Dies funktioniert alles wunderbar. Ich speichere den Zeitstempel in einen String
Function fnIsoDateTime(dtmDateTime)
Dim strMonth
strMonth = Month(dtmDateTime)
If Len(strMonth) = 1 Then
strMonth = "0" & strMonth
End If
Dim strDay
strDay = Day(dtmDateTime)
If Len(strDay) = 1 Then
strDay = "0" & strDay
End If
Dim strHour
strHour = Hour(dtmDateTime)
If Len(strHour) = 1 Then
strHour = "0" & strHour
End If
Dim strMinute
strMinute = Minute(dtmDateTime)
If Len(strMinute) = 1 Then
strMinute = "0" & strMinute
End If
Dim strSecond
strSecond = Second(dtmDateTime)
If Len(strSecond) = 1 Then
strSecond = "0" & strSecond
End If