VBS script help

  • Thread starter Thread starter UnknownTBeast
  • Start date Start date
U

UnknownTBeast

Guest
Is there a script that I could use to find the system time and reduce it by
16 minutes and display it in a MSGBOX as "The current time is..."
I don't have the rights to change the time on the computer so this seems
like the best way.
 
RE: VBS script help

For windows scripts,go to TechNet at microsoft,locate the script center,
locate the library,a script might already be made.

"UnknownTBeast" wrote:

> Is there a script that I could use to find the system time and reduce it by
> 16 minutes and display it in a MSGBOX as "The current time is..."
> I don't have the rights to change the time on the computer so this seems
> like the best way.
 
Re: VBS script help

DateAdd Function:
http://msdn.microsoft.com/en-us/library/cb7z8yf9(VS.85).aspx

MsgBox DateAdd("n", -16, Now)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


"UnknownTBeast" <UnknownTBeast@discussions.microsoft.com> wrote in message
news:131A3CCC-4A6F-4B06-B5F9-67841A3309B9@microsoft.com...
> Is there a script that I could use to find the system time and reduce it
> by
> 16 minutes and display it in a MSGBOX as "The current time is..."
> I don't have the rights to change the time on the computer so this seems
> like the best way.
 
Re: VBS script help


"UnknownTBeast" <UnknownTBeast@discussions.microsoft.com> wrote in message
news:131A3CCC-4A6F-4B06-B5F9-67841A3309B9@microsoft.com...
> Is there a script that I could use to find the system time and reduce it
> by
> 16 minutes and display it in a MSGBOX as "The current time is..."
> I don't have the rights to change the time on the computer so this seems
> like the best way.


Performing this task with a script won't get you around the permissions
issue. Ask your system administrator to give you sufficient rights to change
the time.
 
Back
Top