✏️ Explanatory Question
In this answer we will show you how to get todays date in current time zone. You can use the below code to get the todays date.
info("System Date = %1", DateTimeUtil::getToday(DateTimeUtil::getUserPreferredTimeZone()));
strFmt("MyFileName - %1.xlsx", DateTimeUtil::applyTimeZoneOffset(DateTimeUtil::utcNow(), DateTimeUtil::getUserPreferredTimeZone()));