formatDate() The formatDate() function is used to format dates. Syntax formatDate(date, mask) Argument Description date (required) An expression that results in a date...