Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, Friends
I want to implement a new function in my loading script.
If now()>'12:30:00 pm' Then
ExitScript();
Else
Load
......
From....
End If
But I always get problems with time compare in if condition.
How can I make it?
Thank you.
Larry
Now() returns a Timestamp including the date.
Try something like
IF Frac(Now()) > Maketime(12,30,0) THEN
Now() returns a Timestamp including the date.
Try something like
IF Frac(Now()) > Maketime(12,30,0) THEN
Thank you so much for helping!