[SR-Users] Date Time with microsec
Diego Nadares
dnadares at gmail.com
Fri Apr 28 04:00:33 CEST 2017
Hi Guys,
Is to convert or obtain
$TV(s) - seconds (cached at first call per sip message)
$TV(u) - microseconds (cached at first call per sip message)
to datetime.microsecs?
I'm trying to save 180/183 datetime (cached) like YYYY-MM-DD
HH:mm:SS.microsecs
$dlg_var(ring_time) = $timef(%Y-%m-%d %H:%M:%S); <--this is current time,
not cached
$dlg_var(ring_time_micro) = $TV(u); <-- this is cached us
Thanks in advance!
Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170427/da417087/attachment.html>
More information about the sr-users
mailing list