teletubby5e
Technical User
i am trying to find out if procomm converts to a julian date, so that i can perform some math functions to test befor proceeding with the rest of the script. I am trying to do a date check to run a subroutine. something like this .....
if date >= 1/16/2004
run subroutine
endif
and so far i have tried to modify the following from the help file.
DateGet = $DATE ;sets the name from Control Panel
usermsg "%s" DateGet ; displays it in 1/16/2004 format
BinaryNum = "%s" DateGet
strtonum BinaryNum Number 2 ; Convert number to base 10.
usermsg "And the number is...%d!" Number
can someone steer me to the right command? this would be a useful tool to start putting in my scripts. "if past a certain date halt, else run the rest of the script." any help will be greatly appreciated.
thanks, jeff
if date >= 1/16/2004
run subroutine
endif
and so far i have tried to modify the following from the help file.
DateGet = $DATE ;sets the name from Control Panel
usermsg "%s" DateGet ; displays it in 1/16/2004 format
BinaryNum = "%s" DateGet
strtonum BinaryNum Number 2 ; Convert number to base 10.
usermsg "And the number is...%d!" Number
can someone steer me to the right command? this would be a useful tool to start putting in my scripts. "if past a certain date halt, else run the rest of the script." any help will be greatly appreciated.
thanks, jeff