What's the required date format when using tribe_create_event?

Home Forums Calendar Products Events Calendar PRO What's the required date format when using tribe_create_event?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1225237
    Sabrina
    Participant

    My dates are showing up as 1970 after import. I am using a mysql datetime format. What should the format be?

    #1225242
    Sabrina
    Participant

    Here’s an example of what I am using:

    Date:
    2017-07-10 00:00:00

    My args array:

    $event = array(
       'EventStartDate' => '2017-07-10 00:00:00',
       .... other values
    );
    #1225253
    Sabrina
    Participant

    Looks like I had some old data. This has been fixed.

    #1225376
    Geoff B.
    Member

    Good afternoon Sabrina and welcome back!

    Thank you for reaching out to us.

    I am super stoked that you found the solution to your issue.

    Kudos to you!

    You are welcome back in our support forums any time đŸ™‚

    For now, I am going to close this thread.

    Have a great weekend!

    Geoff B.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘What's the required date format when using tribe_create_event?’ is closed to new replies.