Hide AM/PM when user preference is for 24-hour time

Currently it doesn’t seem like there is any way to hide AM/PM if the user preference is for 24-hour time. There should either be a #DA# tag that automatically hides if the user has selected 24-hour time, or a separate tag that returns true/false based on the user preference.