[OpenSIPS-Users] Timestamp in date format
Ben.Newlin at genesys.com
Mon Feb 22 21:09:29 EST 2021
> I know that there is a get_timestamp function but I need the result to be formatted as date.
You can use the $time variable.
From: Users <users-bounces at lists.opensips.org> on behalf of xaled at web.de <xaled at web.de>
Date: Monday, February 22, 2021 at 4:01 PM
To: 'OpenSIPS users mailling list' <users at lists.opensips.org>
Subject: [OpenSIPS-Users] Timestamp in date format
I need to create a timestamp node in an XML body like shown below
I know that there is a get_timestamp function but I need the result to be formatted as date.
BTW, is there a way to directly define XML item value using variable
$xml(my_doc/doc/list) = "<item>$var(value)</item>";
Unfortunately it does not work like this
Users mailing list
Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users