function 'STRPTIME'

Returns the epoch of the arbitrary date/time string structured as described
by the format.
This is useful for converting a date into 'EPOCH' time,  possibly to pass
to an application like SayUnixTime or to calculate the difference between
the two date strings
Example: ${STRPTIME(2006-03-01 07:30:35,America/Chicago,%Y-%m-%d %H:%M:%S)}
returns 1141219835
Not available

[See Also] Not available

Asterisk: функции диалплана

  • asterisk/func/strptime.txt
  • Последние изменения: 2014/05/12