DefDate Statement/text/sbasic/shared/03101300.xhpDefDate statementDefDate StatementIf no type-declaration character or keyword is specified, the DefDate statement sets the default variable type, according to a letter range.DefDate: DateSub ExampleDefDate tDate=Date ' tDate is an implicit date variableEnd Sub