Skip Navigation

[Resolved] User custom field export/import.

This support ticket is created 2 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 2 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#2429387

Tell us what you are trying to do?
We wanted to import user data. One custom field that we want to populate has a date field type. When we tried to import, the date 2022/01/01 or other date format is not acceptable. So we exported the user data to see the value of that custom field in date. It turns out that the value is in timestamp. What can we do to make the date format acceptable? It would be hard for us to convert the date to timestamp first before importing.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#2429525

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

What if before you import you should change the date to timestamp and use the newly added timestamp column to import the date value:
=> hidden link

#2433821

Hi,

Is there a simpler way for this? I mean if we can possibly import with a date format and not in timestamp format.

#2434207

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

No, the thing is that when you create a custom date field using the Toolset Types plugin, the custom date field value is stored as Unix Timestamp to the database. That is why you will have to import the equivalent Unix Timestamp value for your date column.

#2434211

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)