STRFTIME is indeed in 1.4
exten => s,1,Set(TIME=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S-%Z)})
Chad
>On Mon, Mar 10, 2008 at 3:08 PM, Anastasia LePlume <[EMAIL PROTECTED]>
>wrote:
>> Im trying to assign a date to the various caller ID's which dial into my
>> system.
>
>(Originally sent this only to Anastasia, but this is for everyones
>benefit / discussion)
>
>${EPOCH} will give you the number of seconds from the unix epoch.
>
>I think you can also use the STRFTIME() dialplan function. I know
>that's in 1.6, but can't remember if it's in 1.4 (although I think it
>is).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]