![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Format and Round Functions Hi, I have this VB code that I would like to use it on a VBScript This script will be use on a logoff.vbs. I am getting an error: Type mismatch: 'Format' rtime = Format(Round(Now() * 96, 0) / 96, "hh:mm") |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Format and Round Functions "Bre-x" <cholotron@xxxxxx> wrote in message news:%23mXGEOpGKHA.4432@xxxxxx Quote: > Hi, > I have this VB code that I would like to use it on a VBScript > This script will be use on a logoff.vbs. > I am getting an error: Type mismatch: 'Format' > > rtime = Format(Round(Now() * 96, 0) / 96, "hh:mm") > WScript.echo FormatDateTime(Round(Now() * 96, 0) / 96, 4) |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Format and Round Functions mytime = FormatDateTime(Round(Now() * 96, 0) / 96, 4) Bre-x "Bre-x" <cholotron@xxxxxx> wrote in message news:%23mXGEOpGKHA.4432@xxxxxx Quote: > Hi, > I have this VB code that I would like to use it on a VBScript > This script will be use on a logoff.vbs. > I am getting an error: Type mismatch: 'Format' > > rtime = Format(Round(Now() * 96, 0) / 96, "hh:mm") > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Vista machine on LAN - Round 2 | Vista networking & sharing | |||
| -f format Format-Table Format-List against Select | PowerShell | |||
| Can i do this, this way round ? | General Discussion | |||
| Getting round password | Vista account administration | |||
| Screensaver Round Two | Vista performance & maintenance | |||