Problem: I would like to map Toolset date fields to Schema Pro dates, but the Schema Pro date format should be like 2019-01-26. Toolset's format is like 1525478400. I would like to discuss the issue with Schema Pro's developers. What should I tell them?
Solution: Toolset uses a format called Unix timestamps. A developer should be able to convert a Unix timestamp into any formatted date using PHP or another programming language. As a fallback, the Types field shortcode will produce any PHP date format you specify. You could use those shortcodes to generate some readable format for Schema Pro.
Relevant Documentation:
https://en.wikipedia.org/wiki/Unix_time
https://www.unixtimestamp.com/
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 replies, has 2 voices.
Last updated by 5 years, 9 months ago.
Assisted by: Christian Cox.