DateTime()
DateTime([Unix-Zeit[,timezone[,Format]]])
DateTime()
ist zwar
(noch?) nicht deprecated, ist aber intern nur noch ein Alias auf
SayUnixTime()
. (Siehe dort für Aufruf und
Funktionsweise.)————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about application 'DateTime' =-
[Synopsis]
Says a specified time in a custom format
[Description]
DateTime([unixtime][|[timezone][|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"
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -4,10 +4,10 @@
Says a specified time in a custom format
[Description]
- DateTime([unixtime][|[timezone][|format]])
- unixtime: time, in seconds since Jan 1, 1970. May be negative.
+ DateTime([unixtime][,[timezone][,format]])
+ unixtime - time, in seconds since Jan 1, 1970. May be negative.
defaults to now.
- timezone: timezone, see /usr/share/zoneinfo for a list.
+ 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.
+ format: - a format the time is to be said in. See voicemail.conf.
defaults to "ABdY 'digits/at' IMp"
SayUnixTime()
“