[OpenSER-Users] Avp_db_query with timestamp??

Geir O. Jensen geir.o.jensen at uninett.no
Mon Apr 21 15:21:53 CEST 2008


I'm trying to get a timestamp from the sql server with the following:

avp_delete("$(avp(s:rds_time))");
avp_db_query("SELECT time FROM usr_status WHERE
cid='$ci';","$(avp(s:rds_time))");

HOWEVER, even if the time field is "2008-04-21 15:06:33" the avp is only
filled with "2008". Any idea what's going on ??

- gojensen
UNINETT





More information about the Users mailing list