[asterisk-users] Decimal seconds?

Tom Ray tom.ray at blazestudios.com
Wed Mar 16 07:38:44 CDT 2022


What have you actually tried? STRFTIME(NOW,America/Detroit,%3q) doesn't work?

-----Original Message-----
From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Antony Stone
Sent: Wednesday, March 16, 2022 8:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] Decimal seconds?

Hi.

Has nobody got a clue for me about this?

It must be possible somehow, otherwise the %3q parameter wouldn't exist...

On Friday 11 March 2022 at 17:31:54, Antony Stone wrote:

> Hi.
> 
> I'm looking at
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_STRFTIME
> and trying to work out how to obtain an Epoch timestamp for "now"
> containing fractional / decimal seconds so that the %3q format parameter
> works.
> 
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variab
> les doesn't seem to tell me.
> 
> Can someone point me in the right direction please?
> 
> 
> Antony.

-- 
My life is going completely according to plan.

I do sometimes wish it had been *my* plan, though.

                                                   Please reply to the list;
                                                         please *don't* CC me.

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list