Help Center
Date Field in the Post Shows 1970-01-01

Date Field in the Post Shows 1970-01-01

When I create the Post by the JetEngine Forms, the Date Field is 1970-01-01

Modified on: Wed, 24 Jan, 2024

Check CPT Fields

Go to JetEngine > Post Types and open to edit the CPT that you need. Scroll down to the Date meta field, open it and see if the Name/ID is set properly. The field should contain neither uppercase letters nor spaces. Also, check if the Save as timestamp option is enabled and enable it if necessary.

date meta field settings

Check Form Settings

Open the Forms tab in the JetEngine WordPress submenu. Open the needed form through which you add the post with the date – New Post, for example – and find the Date type field in the Fields Settings list. Press the pencil icon to edit the field. Make sure to tick the Is Timestamp checkbox and save the changes.

active is timestamp option in the date field settings

Next, proceed to the Post-Submit Actions / Notification Settings section. There, you should set the Insert/Update Post notification type. Click the pencil icon to edit it and see if all settings are set properly. 

Press the “Apply Changes” button and update the Form.

Try to Create New Post

Open the page where the form is placed on the frontend and try to submit a new post. Fill out all the required fields including the date and send the form. 

submitting a frontend form

Then proceed to the WordPress dashboard, find the needed custom post type and its posts, and open the post you’ve just submitted. Scroll down to the Date meta field, and there you have it! The date that you added in the frontend form appeared here as expected.

checking the date meta field content

Was this article helpful?

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.