Strange problem. I am using the ltimeints function and the Hour result always returns a '1'. It does not matter what time of the day it actually is, I always get a 1 for the hour.
Here's how I am using it:
integer Year, Month, Day, Hour, Min, Sec
string cNow
ltimeints $LTIME Year Month Day Hour Min Sec
strfmt cNow "%s %s %s %s %s %s" Year Month Day Hour Min Sec
usermsg cNow
At 5:35 PM CT on 10/17/05 I get the following User Message:
2005 10 17 1 35 43
If I use the ltimestring function the same Date/Time will report correctly as: 10/17/2005 5:35:43PM
Running Procomm 4.8 on Win2000 Professional o/s.
(I need this per my previous posting about Hourly Polling of PBX Traffic). Any suggestions?
Here's how I am using it:
integer Year, Month, Day, Hour, Min, Sec
string cNow
ltimeints $LTIME Year Month Day Hour Min Sec
strfmt cNow "%s %s %s %s %s %s" Year Month Day Hour Min Sec
usermsg cNow
At 5:35 PM CT on 10/17/05 I get the following User Message:
2005 10 17 1 35 43
If I use the ltimestring function the same Date/Time will report correctly as: 10/17/2005 5:35:43PM
Running Procomm 4.8 on Win2000 Professional o/s.
(I need this per my previous posting about Hourly Polling of PBX Traffic). Any suggestions?