(view source code of sorttime.vbs as plain text)
' SortTime.vbs, Version 1.00 for Windows Script Host 2.00' Display current time in HHmm format'' Written by Rob van der Woude' http://www.robvanderwoude.comIf DatePart("h",Time) < 10 Then
strSortTime = "0" & DatePart("h",Time)
ElsestrSortTime = DatePart("h",Time)
End If
If DatePart("n",Time) < 10 Then
strSortTime = strSortTime & "0"
End If
strSortTime = strSortTime & DatePart("n",Time)
Wscript.Echo("SortTime=" & strSortTime)
page last modified: 2025-10-11; loaded in 0.0077 seconds