B.105. SayUnixTime()

Announce the time in a custom format.
Announces the current time according to the specified time zone and format. Allowed options are:
The time in Unix time format, i.e. the number of seconds that have passed since the start of the epoch, which began at 0:00 UTC, January 1st, 1970. Accepts negative values. The default value is the current time.
The time zone. A list may be found in /usr/share/zoneinfo/. The default is the system time zone.
The time format of the announcement. A list of allowed formats may be found in voicemail.conf from the default installation. The default time format is ABdY 'digits/at' IMp.
Returns 0 or -1 if the channel is hung up.
exten => 123,1,SayUnixTime(,,IMp)


Internal help for this application in Asterisk 1.4:
  -= Info about application 'SayUnixTime' =- 

Says a specified time in a custom format

  unixtime: time, in seconds since Jan 1, 1970.  May be negative.
              defaults to now.
  timezone: timezone, see /usr/share/zoneinfo for a list.
              defaults to machine default.
  format:   a format the time is to be said in.  See voicemail.conf.
              defaults to "ABdY 'digits/at' IMp"
diff output to internal help in Asterisk 1.2:
- none -