actually I found the answer right after posting:
date_i18n(get_option('date_format') ,$timestamp);
it was in an example here
Related Posts:
- Date, Time, and Timezones
- Order by custom field date?
- Order by custom field date with ASC order
- Ordering posts by anniversary using only day and month
- How can I query on the year part of a complete date in a custom field?
- Displaying posts with only upcoming dates according their custom field date value
- Ordering posts by custom field named “date” in backend
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- Convert all dates stored in custom field
- How show post only from after custom date
- How to query posts by month based on date custom field?
- Order by custom date field
- Group Posts By Custom Meta Value: Date
- WordPress Admin – Automatically Sort Custom Posts by Custom Field Date Value in d-m-Y Fomat
- Thirtieth century date for a post
- Order a query by meta_value and then by post_date
- WordPress archives by custom field and date
- Complex WP_Query Using Post Date And Post Meta
- Checking if field is set before comparing with meta_query in query_posts?
- Display posts where date field matches current month?
- Dynamically update Custom Fields to display new dates
- Add a Jquery Datepicker to custom field in post edit
- How can I avoid re-inventing the Custom Fields wheel in my Plugin’s Metabox?
- Using wordpress post data as input for google visualisations
- Does wordpress have something like content-type?
- Order Posts by Closest Numeric Values
- How to get and edit custom fields if in Quick Edit
- Order posts by custom field and if custom field is empty return remaining posts
- Create additional short URL with custom field and 301 redirect
- Create custom field on post draft or publish?
- Using custom fields in a filter hook
- Adding a prefix to a post title
- Using OR in WP_Query negates the “NOT EXISTS” compare
- How to add a predefined custom field without using a plugin?
- PODS performance vs custom field
- How to enable Custom Fields that are disabled by theme?
- Calling custom fields for pages (not posts)
- Add More Fields to Users Pages (Admin Panel)
- how can i stop custom fields that have apostrophes from breaking my code
- Create new post with meta data using WordPress API
- get_terms that have custom sticky field checked
- Users Select inside custom metabox
- WPML & CFT: keeping custom field file to translation
- How to make condition, based on custom fields value?
- How do I Implement Atomic Update of Post Metadata?
- How do I have WP_Query match posts based on search parameter OR meta fields? (rather than search parameters AND meta fields)?
- Want to make A CSS if meta key value is empty
- Add & store extra fields – WordPress Comments
- Why is my Custom Meta Box Field Inputs NOT saving?
- Filter multiple custom fields Values with Check boxes
- Get registered custom fields or post meta even if empty
- Outputing a metabox textarea and avoid line breaks inside li tags
- Restrict WordPress Search to Custom Field
- How to add a custom field to a post created programmatically?
- How to mass update custom fields for more than 20k posts
- remove initial wysiwyg editor from cms page edit
- Problem with saving large amount of data in postmeta/usermeta
- How to get posts with a metadata numeric key greater than X?
- List all unique custom field values?
- “Matching” or “Linking” Two WordPress Pages: Custom Fields?
- Build index page from custom fields
- Meta_query ‘compare’ => ‘LIKE’ not working?
- Modify date query by URL parameter using pre_get_posts and $_GET
- Get text from user and display it on page
- Upload & include specific JavaScript files for posts?
- If metabox has content display content
- Custom meta boxes not saving
- help for user login
- The best way to collision check in WP
- Listing the most popular 8 city (custom fields) as used in posts
- How to delete file uploaded by Plupload
- Display Meta Data with HTML?
- How to store meta field values
- Custom Field: how to save array of multiple key-values in WordPress
- How can I detect user’s timezone?
- ACF field group not showing in page
- Filter post style attribute
- Delete user meta but only if found in array
- Update some (not all) post titles with custom field values before running the Loop
- Arrays in custom fields or is there a better way?
- Custom field in media library not saving, selected() function not adding “selected” to select list input type
- Setting user permissions per post
- Weird custom fields data lost
- Showing the post only when there is title, thumbnail and the content in Custom Fields
- Show Custom Taxonomy as Headline for related posts
- Custom field group on page
- Output Custom Field value to shortcode
- display Flexible Fields from options
- change attachment custom field onChange event
- How to filter post using custom feild value in shortest and longest duration?
- Get custom field from other post in carousel
- show custom field content in jquery tabs
- Create citation and url in post using 3 custom fields with conditions for each field… So close!
- Advenced custom fields auto fill problem
- Show only first image of multiple image field
- Custom Fields after update to WordPress 6
- Add CSS class to posts with certain meta key
- WP_Query sort by ACF date field (newest first) with blank dates first
- Best way for managing images of ads banners
- Crop custom image size vs actual size