When a record has multiple date fields, sometimes you’d like to know which date is the earliest.

In this example base, each record is a social post that has different live dates for different channels. I’d like to know the earliest live date across all three channels. I could do this in a formula, but the ‘LIVE DATE’ field is also used by other teams, so I’d rather calculate the date with the below script.