If a date is not specified, set date to today to emulate .NET implementation