On Wednesday 02 January 2008 09:34:24 Erik Wartusch wrote:
> No it's even simpler. ( I dont need an IF case)
> I just want to add e.g. 15 minutes to the current date / time:
>
> So simply said:
>
> ${STRFTIME(${EPOCH},,%Y%m%d%H%M)} + 15 minutes!
>
> My question was how can I do that.? Of yourse e.g. if it's 23.57 pm and I
> add 15 minutes the day should increase +1 and the hours start with 0:x the
> minutes with 12 ( and not 72 as the normal addition would result).
${STRFTIME($[${EPOCH} + (15 * 60)],,%Y%m%d%H%M)}
--
Tilghman
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users