How to say a unix timestamp in PHP AGI

In my PHP AGI script I need to announce a UNIX timestamp

For example:

$time = "1682268812";

but that is not working.

I can use other PHP AGI commands like $agi->say_digits(1); without issue.

How to make AGI announce the date and time provided from unix timestamp?

Server is PBXact running Asterisk 16.30.0

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.