Apologies for the off-topic question. I found the answer on StackOverflow, it’s a PHP question not specific to WordPress. The following code changes the format as required. From https://stackoverflow.com/questions/2487921/convert-a-date-format-in-php
<?php $new_checkin = date('jS F Y', strtotime($checkin)); ?>
<?php echo esc_html( $new_checkin ); ?>
Related Posts:
- Date calculations from 2 custom fields
- Facebook Messager Plugin
- the_posts_pagination() not working if I add wp_head() to header.php
- Call function with button and return response
- Why is WP template_include overwritting all templates rather than specified page?
- How to echo a plugin’s function into a template?
- How to get next day date of a specific day
- Possible to overwrite load_template function in plugin using functions.php
- wordpress plugin is not activating from widget
- Theme my Login plugin, how to update fields
- Edit Yoast SEO breadcrumbs output [closed]
- Adding Shortcode to Text Widget
- Snippets: is it better to add them in functions.php or make site-specific plugins?
- Does WordPress validate inputs to all functions? (such as get_user_meta and insert_user_meta)
- Custom random quote widget breaks when used in multiple sidebars
- List Category Posts rewrite necessitates rewrite of customised templates
- Using a function to change favorites listing
- Display post lists in 2nd paragraph
- How to debug error message: Cannot modify header information
- Using a post-signup hook to get user details
- How to enable specific plugin only based around shop manager role?
- How to change constants in WordPress wp-config.php programmatically?
- Restrict media upload size by format
- How to use a class from another plugin
- Override Plugin Script Fucnction in WordPress
- WordPress comments not appearing in blog posts, likely because of Redux template. Could I fix this with a plugin that adds a comment form as a block? [closed]
- How to display custom sidebar in wordpress 5.5.2
- Calling plugin function inside custom plugin for onclick event
- Show function to super admin
- (FES EDD) New vendor submission page is blank
- Plugin-generated pages use Not Found or Pages Archive templates?
- creating html reusable blocks via shortcodes
- get current date + 90 days and checking every day
- Adding a new field to the address field type in gravity forms
- Replacing a plugin function with a custom renamed function doesn’t work
- How to display (plugin?) output on a single page (not a widget, probably not a short code) – template, plugin, combination?
- How to create an input field, and base the output on spreadsheet data? [closed]
- Nested shortcode functions accessing variable
- Advanced Custom Field DatePicker [closed]
- Calling an attribute from a plugin shortcode
- Fatal error: Call to undefined function cmsms_theme_page_layout_scheme()
- How to call WordPress function other files
- Use of Templates in a Plugin
- Add comments for template variables
- All sites themes functions.php have been changed
- Customize permalink wordpress category id
- Conditional attributes and logic per product category
- Disqus deleted comments are syncing with wordpress but active comments do not
- Admin style for just one plugin in dashboard
- WP Query. Is there a maximum size?
- Render custom php template into string
- How to remove custom post type and add category and post name
- Perform internal redirect in WordPress?
- How WordPress is able to change locale without using setlocale
- Grab WordPress Salt Data From URL
- Ajax : Call undefined function plugin_function() … can’t call any plugin function
- WordPress get_avatar function not correct working
- WordPress metaboxes – textfield suggestion automatically populated
- bbPress plugin: forum lists not showing in correct order? [closed]
- Which file of wordpress manage plugins functionalities?
- How to create an option page for this simple plugin
- Difference and examples of esc_attr__() and esc_attr_e()
- How to set Noindex to all wordpress pages in a catergory?
- Is there any hook for theme activation ? or something similar?
- How to use get_template part in the plugin?
- Redirect to another page using contact form 7? [closed]
- What is @Action in WordPress?
- changing posts layout in ultimate member profile plugin
- Template filter for custom taxonomy terms
- Improving the perfomance of a plugin action
- Display Custom Field Value on Admin Page Column
- List the authors that have written posts in a category
- Load Javascript from Plugin in One Page Only?
- Is there a best practice remediation for PhpStorm’s warning that void function the_post_thumbnail is used?
- the_tags : can we insert a class
- how to force tag page layout to use same as search layout?
- How to over-ride a file in a plugin? [closed]
- How can I use a file in my plugin as a replacement for single.php on custom-post-type query?
- Overwrite category head title
- Plugin is a widget, but I want to call it in the head, can I?
- Calling the_excerpt from inside a plugin template file
- How to get plugin name from plugin file location
- Best practice for including plugin output in a template without using shortcode?
- Check if variable is set in filter
- Cannot get wpdb data (Error in a simple fuction) [closed]
- Timber – Twig post.content returns null can’t create ACF Gutenberg blocks
- How to prevent additional code in functions.php to be removed once there is an update?
- Checking the count within a foreach loop
- execute function after one completed
- How to keep variable `$post` to using in another file
- WordPress checkbox and Illegal string offset
- Image change on hover
- Passing stored variables to add_filter
- Where to find the code used to render a page that has a shortcode and a template defined?
- Create a post builder skin in a plugin
- Plugin Development – Functions or Hooks?
- How do I override plugin templates and stylesheets?
- Proper way to use plugin functions in functions.php
- How do I publish portfolio items with a future date?
- WordPress as template engine