Time Change

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

A short one, may be simple too.

I am developing a mini application wherein i need to change the system time
thru the application on the fly. Just to play with different time zone
concepts.

I am not sure how to do this. Do i have to use some API's or does VB have
some internal function itself?

Any help would be much appreciated.
 
Sri said:
Hi,

A short one, may be simple too.

I am developing a mini application wherein i need to change the
system time thru the application on the fly. Just to play with
different time zone concepts.

I am not sure how to do this. Do i have to use some API's or does VB
have some internal function itself?

Any help would be much appreciated.



TimeOfDay = ...



Armin
 
I mean the SYSTEM time itself.

Just like how we used to adjust the system time using the icon in System
tray manually.
 
Sri,

TimeString

Kerry Moorman


Sri said:
I mean the SYSTEM time itself.

Just like how we used to adjust the system time using the icon in System
tray manually.

--

Regards

Sri
 
Sri said:
I mean the SYSTEM time itself.

Just like how we used to adjust the system time using the icon in
System tray manually.


Yes, Timeofday gets/sets the system time. Tried it? In addition, Today=...
sets the system date, and Now=... sets both at once.


Armin
 
Back
Top