Hello,
I am getting some compilation error in TimeintoInterval command in below program.
Which i did not get with my previous loggernet setup in my PC. i installed same version 4.0 of loggernet which was there previously in my PC , only installed through new media and license key.
Error is:
"Parameter must be a constant integer:TimeintoInterval((1440-60*timezone...........))
Kindly help me to resolve it.
============================================================
<Proprietary code removed>
* Last updated by: Admin on 12/21/2011 @ 2:44 PM *
I think if you do the calculation in the const declaration it will work, e.g.,
Const TimeZone_hrs = +5.50
Const TimeZone_min = (1440-60*TimeZone_hrs) MOD 1440 ' check?
...
If TimeIntoInterval(TimeZone_min,1440,min) Then
...
(I just copied the expression and don't know if it's correct.)
Thanks Alot !!!!!!!!!!
Its works.... Great Observation.