Returns a localized day period string using Intl.DateTimeFormat. Extracts the 'dayPeriod' token from the formatted parts.
Intl.DateTimeFormat
The numeric epoch time value
Optional
Optional locale string
Optional format configuration
The localized day period string (e.g., 'AM', 'PM', 'de la mañana')
Returns a localized day period string using
Intl.DateTimeFormat. Extracts the 'dayPeriod' token from the formatted parts.