<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
Where did you get function $time(msec)? In documention doesnt exist. I
need that function too.<br>
If you modify cfgutils, how did you do that?<br>
<br>
Thank you<br>
<br>
Ernest<br>
<br>
osiris123d pravi:
<blockquote cite="mid:1256333543800-3881409.post@n2.nabble.com"
type="cite">
<pre wrap="">This is my first time trying to use the $test function. When I read the
documentation on it I am expecting the function to return the current unit
of time that I put in the parentheses. Yet in my config I have the
following command just so I can test it
xlog("L_INFO", "$time(year)/$time(mon)/$time(mday)
$time(hour):$time(min):$time(sec).$time(msec)");
The output for this is the following
year/mon/mday hour:min:sec.msec
That doesn't seem right.
Also when I try the documents example
if ($time(year) == "2009") {
xlog("request: $rm from $fu to $ru in year 2009\n");
}
The condition is never true because $time(year) really equals "year"
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
.style1 {font-family: "Trebuchet MS"}
.style2 {
        font-size: 18px;
        font-weight: bold;
}
.style5 {
        font-size: 16px;
        font-weight: bold;
}
.style6 {
        font-size: 12px;
        font-weight: bold;
}
-->
</style>
<pre class="style1"><span class="style6"><a href="http://novatel.si/"><img
src="cid:part1.06080607.09070507@novatel.si" border="0" height="38"
width="125"></a>
</span><span class="style2">Ernest Mavrel
</span>technical support
<span class="style5">Novatel d.o.o.</span>
informacijske tehnologije
Mariborska 88, SI - 3000 Celje
tel: <strong class="style6">+386 (0)82 800 823
</strong>fax: <strong class="style6">+386 (0)82 800 821
</strong>mobile: <span class="style6">+386 (0)51 436 453
</span>e-mail: <a href="mailto:ernest.mavrel@novatel.si" target="_blank"
title="Ernest Mavrel - Novatel d.o.o.">ernest.mavrel@novatel.si</a> </pre>
</div>
</body>
</html>