Construct a Time value from Hours, Minutes and seconds.
Syntax TimeSerial(Hour, Minute ,Second) Key Hour A numeric hour (0-23) Minute A numeric minute (0-59) Second A numeric second (0-59)
Example
result = TimeSerial(14,30,07) WScript.Echo result > 14:30:07
“Time is more valuable than money. You can get more money, but you cannot get more time” ~ Jim Rohn
Related:
Replace - Find and replace text
Equivalent PowerShell cmdlet: $result = get-date -h 17 -mi 10 -s 45 -displayhint time