Error scheduled publish on FB Page

I’m working with webhook to publish on a Facebook Page.
I’m a #100 error if I try to add a scheduled data to post.
I’m using php, this is my code:

    $time = '2025-09-11';

    $data = [
      'text' => 'Google',
      'url' => 'https://www.google.com',
      'time' => $time,
    ];

I tried many of these examples, in the future, but I obtain this error:

The operation failed with an error. (#100) The specified scheduled publish time is invalid. (100, OAuthException)

If I remove time, it works.

What format should I use?

Thanks,
Sergio

Hi Sergio,

the time needs to be in UNIX, you can use the formatDate() function to change it.