WordPress has date_i18n to retrieve the date in localised format, based on timestamp.
Try:
echo date_i18n("d F Y (H:i)",$date) ;
Related Posts:
- Change admin language based on user (in single-site)
- How Do I Make WordPress Run an Event Every Day?
- plugin development: storing language specific options
- Change the ‘published on’ text?
- How to render a time-of-day string like ’16:42′ with a site’s chosen time format?
- Frontend language per user
- Display time difference (6 hours ago) in a Soliloquy caption
- Plugin Development – Multilangual – Different pages
- How to translate wordpress backend to another language
- Load custom translation in custom plugin fails
- wordpress4.8.2 Multilingual Plugin
- How to display Date and Time in Tamil Language?
- How to get locale within WP REST Request?
- What’s the difference between term_id and term_taxonomy_id
- How are bulk actions handled in custom list table classes?
- How do I programatically insert a new menu item?
- Creating Settings Page with dropdowns for Plugin
- Empty POST data on server on AJAX request using Angular $http
- Custom Nav Menu items default to ‘menu-item-type’ => ‘custom’. How to make a “page” menu item?
- How to tell if an option has been created vs an empty option?
- jQuery in header or footer
- Notice: _usort_terms_by_ID is deprecated since version 4.7.0! Use wp_list_sort instead
- How to add a new plugin page under desired Options page?
- Plugin screenshots not showing in the repository
- How to make WordPress use non-greedy shortcode parsing?
- Multiple Parameters for a Shortcode
- How to get current page name in my wordpress plugin
- WP Cron doesn’t save or in post body
- Use register_taxonomy() in register_activation_hook()
- Pages 404 in wordpress
- Calling apply_filters on non-documented hooks
- Multiple entries in get_option results? or why is _multiwidget set to 1?
- Check if I am in the Admin Panel (wp-admin)?
- Fully automated theme install and activation via a plugin
- Commit changes to WordPress Plugin SVN with TortoiseSVN
- Why is WP_Mock not used instead of WP_UnitTestCase for writing unit tests by most plugins?
- add_shortcode is not working [duplicate]
- Metabox Not Showing on Custom Post Type But On Pages and Post
- Using Checkboxes on Plugin Options Page for Custom Plugin
- Create a Page via plugin
- Generating User(s) with Settings API
- Processing shortcodes in groups (separated by line breaks)?
- How to get the post content after WordPress post processing?
- Including a JS source with an admin page
- Should action callbacks start with a verb?
- How insert negative values in Gutenberg box-control
- What filter should I use to insert a button inside on Media>Add New
- Global State During an Admin Post
- How to use a hook to override an update_post_meta call in a plugin?
- External Authentication, session_tokens not destroyed on logout
- Display custom fields in frontside user profile
- Strange issue saving custom field data for a WooCommerce order
- How to programmatically add a custom template that appears in Site Editor from a plugin?
- In woocommerce cart item we can add custom text but how can i add custom link? [closed]
- Build a translation correcter plugin
- Secure REST with nonce works only when not logged
- template_include filter does not render the custom template
- How to set a cookie for logged in users to md5($user->ID . “my_secret”)?
- WordPress plugin enqueue scripts working for js, but not css files
- Meta box on options page save form problem
- my basic php code producing unexpected results
- How to make my shortcode load scripts and styles, from within the plugin?
- Class cannot be found, but it’s available in the file, I get: Fatal Error: Uncaught Error: Class ‘Blocks\Base\Activation’ not found
- how to change image of jquery slider plugin
- Sending an SMS on new order placed – WooCommerce
- Where to use nonce
- How to show parents of current page category, excluding the category?
- get_plugins() is not give plugin list after performed delete_plugins()
- Best practice for Designing a Plugin with this scenario
- How to use a WP_Customize_Control outside of the Customizer?
- Overwriting a plugin function
- Referencing files in JavaScript in WordPress Plugin
- How do I debug an error that a plugin is causing?
- What could cause a WP Option to get truncated?
- Borrowing of Previously Translated Strings by Child Plugin
- Simulating timeout is not working
- Ajax on the Administration Side of plugin – returns 0
- Add custom product data using javascript when add to cart button is clicked
- Creating a WP plugin and having issues linking CSS stylesheet within functions
- How to enhance a self developed plugin by its own plugin architecture
- What happens/fires when you select a block in the editor?
- Determine if term is Category or Tag
- Hiding class namespace from plugin’s extensions
- How to trigger WooCommerce user profile edit change?
- Relational / Associate tables using native WordPress functionality
- Stop unauthorised file access
- Changed media upload path for plugin, but generates error & shows wrong url
- How to pass a more variable with page/subpage in Wordprees URL?
- Pull commentdata for pre_comment_on_post from comment_post_ID
- Dynamic sidebar areas not working on the Theme Customizer
- Woo-commerce: Adding additional page sections using a child theme
- Plugin dev: How to multiply instances of a plugin in the same metabox?
- Merge Codes using redux framework
- How to get html tag ids from template?
- Getting Plugin to read all script files
- How to Rewrite WordPress URL for a Plugin
- How to Prove Ownership of plugin [closed]
- Reading the inside of
- WordPress, GIT, Renamed Plugin Dir + files – Working Code now Broken [closed]
- get_term_by() returning null on plugin