Feature Requests item #2163867, was opened at 2008-10-13 18:27
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2163867&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: New Pseudo Variables for Current Date

Initial Comment:
It would be very useful for billing purposes to have a current date pseduo 
variable (formatted like 'yyyy-mm-dd') for indexing and grouping CDRs (maybe 
$Df?). The current $Tf and $Ts vars are too granular for this purpose.  I'm 
currently having to calculate this using a database call which is obviously 
expensive relative to pulling it from a variable.

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-09-17 17:53

Message:
-new PV $time(format) to print time is dynamic formatted time string.
 Format: see "man strftime"

$time(%A %B %Y) -> Thursday September 2009


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-11-18 14:11

Message:
is it better to use a formatter rather than adding a single format of a
date.
but maybe it need more effort


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2163867&group_id=232389

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to