pati1231 10 Posted July 29, 2003 Report Posted July 29, 2003 Hi an alle :o) Hab ein reisen Problem will hier im AD alle compis kicken die schon länger nimma drin waren und jetzt will ich die Zeit die ja : so angegeben wird 16301021162109.0Z in das format tag monat jahr und uhrzeit umwandeln.. und das ganze am besten auch wieder in die umgekehrte richtung machen können. thx @ all Quote
blub 115 Posted July 29, 2003 Report Posted July 29, 2003 hab hier eine Function in vbs: strDate ist die Zeit im UTC-Format z.B. 20030729112445000000-120 Function UTCDateStringToDate(strDate) UTCDateStringToDate = CDate(Mid(strDate, 5, 2) & "/" & _ Mid(strDate, 7, 2) & "/" & Left(strDate, 4) _ & " " & Mid (strDate, 9, 2) & ":" & _ Mid(strDate, 11, 2) & ":" & Mid(strDate, _ 13, 2)) End Function cu blub Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.