[Asterisk-Users] ${EPOCH} and ${DATETIME} patch
Benjamin Miller
BGMiller at dccinc.com
Sun Apr 20 20:15:13 MST 2003
Not a bad suggestion.
After a brief discussion in #asterisk, I resent the diffs to Mark to
make the format: YYYY-MM-DD_HH:MM:SS
Ben
-----Original Message-----
From: Karl Putland [mailto:karl at putland.linux-site.net]
Sent: Sunday, April 20, 2003 9:50 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] ${EPOCH} and ${DATETIME} patch
On Sun, 2003-04-20 at 20:26, Benjamin Miller wrote:
> Greetings,
> This patch adds two global variables to Asterisk,
> EPOCH and DATETIME
> These can be used to retrieve the epoch or a datetime stamp (usable in
> file names) for the moment these variables are resolved.
>
> EPOCH is an epoch of course, and DATETIME is DDMMYYYY-HH:MM:SS
I'd suggest iso style YYYYMMDD
That way things always sort correctly and it's unambiguous.
--
Karl Putland <karl at putland.linux-site.net>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list