I am having trouble with a wintimer script.
I want to change the format to a 12 hour clock, can anyone help with this.
The format I am current using is.
I have tried changing the hh to h etc... but nothing happens.
I want to change the format to a 12 hour clock, can anyone help with this.
The format I am current using is.
Code:
Dim strTime As String
strTime = Format$(Now(), "hh:mm:ss")
'strTime = Format$(Now(), "h:mm:ss am/pm")
I have tried changing the hh to h etc... but nothing happens.