Tell us what you are trying to do?
Importing CSV into a lot of custom fields. Date fields included. But the dates are formatted: 19500223. Not Unix time stamps.
This seems to be a common problem for many WordPress users importing data.
I've tried the suggested plugin as a solution to this issue from the post above, but WP All Import doesn't seem to change them.
I've included a link below to my site with an example post I've imported data into. I've create a duplicate field of my date field that's just a text field so you can see what the is originally.
The top field is labelled "Rego Date" and that's just displaying the raw data imported as text.
The next field is labelled "Registration Date" and that's a proper datestamp field in Toolset and as you can see it's displaying it as the wrong date. It should be 1950 March 28, but instead it says Aug 14 1970.
Is there any documentation that you are following?
No.
Is there a similar example that we can see?
See above.
Hello. Thank you for contacting the Toolset support.
I see you open a new ticket for same question. We can continue with your old ticket if you do not have any issue and the forum URL you shared is really old.
As I suggested in your old ticket - you need to build a custom shortcode that will accept your date as string (as stored in your database now) and you should manipulate this date string to format your date.
If you need help with that, I need temporary access details with problem URL where you want to display date and in which format and which field I should use to get the current date field.
Thanks for sharing access details but unfortunately wp-admin access details not working at this end. Could you please check once and resend access details.
Also - is this the link where you would like to display date field? If yes: which fields I need to work on?
I have set the next reply to private which means only you and I have access to it.
Well - I can see that the date is stored as string in format 19540323 but I would like to know in which format you would like to display the "rego date" and "apc rego date"?
hi! I have the same issue and tried Minesh' solution; added the php code, but than: where actually goes the shortcode??
I use CSV importer (can't add the shortcodes there), i have the post fields 'date' ready (don't see where i can add the shortcodes there) and i see the results in the admin order pages where i also can't add that shortcode...?
Thanks a lot!