For the last two options Gallery will use the format you specified in the config for date/time strings.