Saltar navegación

[Resuelto] Wp all export date format .csv

This support ticket is created hace 5 años, 3 meses. 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)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Minesh hace 5 años, 3 meses.

Asistido por: Minesh.

Autor
Mensajes
#1361285

Hi,

I use the plugin 'wp all export' to export data form CPT in .csv (excell).
When exporting, the format of the custom fields dates are not good (a sequence of numbers) for example '1462147200' instead of MM DD YY.
Do you have a track to solve that?

Thanks.

Olivier

#1361327

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset date field value is stored as Unix Timestamp instead of normal date string. That is why when you export the post content for date field you will see the number for your custom date field value instead of normal date string.

Please check the following links that may help you:
=> https://stackoverflow.com/questions/46130132/converting-unix-time-into-date-time-via-excel

#1361369

Thanks but I do not know how is the value stored by Toolset, in seconds or milliseconds? The formula given in the link returns me a date in 1970.

Olivier

#1361815

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Please check the following links:
=> https://stackoverflow.com/questions/2850624/converting-timestamp-to-unix-time-in-php
=> enlace oculto
=> enlace oculto