Software >> OS >> OpenVMS >> DCL >>  How to handle dates with single digit dates

$ date = "1-JAN-2008" $ IF F$LENGTH(date) .LT. 11 $ THEN $ date = "0''date'" $ ENDIF $ WRITE SYS$OUTPUT "''date'"