Search found 5 matches

by wcks
Tue Feb 16, 2010 12:34 pm
Forum: Beginners
Topic: Testing a number
Replies: 3
Views: 4671

Thank you.
by wcks
Tue Feb 16, 2010 11:53 am
Forum: Beginners
Topic: Testing a number
Replies: 3
Views: 4671

Testing a number

Hi,

How can we test if the content of a variable is numerical?

I occasionally get an error message, as sometime the variable I pass to an arithmetic function contains a string instead of a number.

Wicks
by wcks
Fri Jan 15, 2010 10:12 am
Forum: Technical / Scripting
Topic: Converting time to UTC
Replies: 2
Views: 2886

Got it.

Using VBscript:

Function getUTC
timeStart = "1/1/1970 12:00:00 AM"
timeUTC = datediff("s", timeStart, now())
getUTC = timeUTC
End Function
by wcks
Fri Jan 15, 2010 9:54 am
Forum: Technical / Scripting
Topic: Converting time to UTC
Replies: 2
Views: 2886

Converting time to UTC

Does anybody know a trick to convert current time to UTC (the number of seconds since at 01-01-1970 00:00:00 ) ?

Thanks,
by wcks
Fri Oct 09, 2009 9:39 pm
Forum: Technical / Scripting
Topic: Incorrect Telnet result.
Replies: 1
Views: 2717

Incorrect Telnet result.

Hello, I'd like to test the following telnet session before I purchase the pro version. However I don't get the correct result. Can anybody help please? Thanks, Below is the correct result using telnet: xGate version 2 (build 67.9 at Jun 08, 2009 10:19:27 at host acer-401d326411) Copyright (c) 1999-...
cron
Sign up to our newsletter for free automation tips, tricks & discounts