Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Get system time

Author
Message
pippo santa
18
Years of Service
User Offline
Joined: 9th Dec 2005
Location:
Posted: 21st May 2006 15:13
Hi,
I am searching a way to make an integer variable that contains the system time in hh.mm.ss format.
I tried with timer() and get time$() but to no avail.
Can you post the code to do this?
Thanks in advance.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 21st May 2006 15:19
get time$() does exactly what you want.

It is a string.

How do think you are going to show it in an integer?



Boo!
CodemanV
19
Years of Service
User Offline
Joined: 25th Aug 2005
Location: South Wales Valleys, UK
Posted: 22nd May 2006 07:54
Hello

here's one way, assuming you meant that you want the numbers stored in the string from calling GetTime$ converted into integers.

pippo santa
18
Years of Service
User Offline
Joined: 9th Dec 2005
Location:
Posted: 23rd May 2006 19:21
Thank you for the answer!

Login to post a reply

Server time is: 2024-11-27 19:27:55
Your offset time is: 2024-11-27 19:27:55