set dateRecord to _support's asOptionalRecordParameter(dateProperties, {class:date component record, year:2001, month:1, day:1, hours:0, minutes:0, seconds:0, timezone:missing value}, "") -- uses 1 January 2001, 00:00:00 *local time* as default