IF VARTYPE(ldStartOn)=[D] ldStartOn=ldStartOn+1 ELSE ldStartOn=ldStartOn+86400 ENDIFI like the code format for readability of the IF/ELSE/ENDIF, but I'm wondering if I'm doing myself a disservice in terms of speed. This code could be replaced with a IIF(). Since this module I'm looking at runs potientially 100+ times before it exits, I thought I might want to find out which way was better in terms of speed.