|
Question : DatePart help
|
|
I used the following code to identify the hours of the time.
PubTime correctly displays the time
The call to Datepart is a problem ==> invalid call procedure or argument
Please advise.
Thanks, Tom
MsgBox PubTime MsgBox DatePart("hh", PubTime)
|
|
Answer : DatePart help
|
|
i think it should be h not hh too
Datepart("h", cDate(PubTime))
Dave
|
|
|
|