This works fine but the timezone has to be predetermined as it is set within the function. I would like the ability for the time displayed to be determined by a custom field on the post where the shortcode is displayed. This custom field will indicate which time zone to display.
I have created a custom field with the meta key "wpcf-timezone-select-test". In this field various timezones are stored in the appropriate formats (Continent/City). These are then set depending on what time is required to be set.
I am trying the below to show this but it doesn't seem to be working.