PDA

Click to See Complete Forum and Search --> : vbscript


lleemon
May 29th, 2001, 01:53 PM
Does anyone know of a good site that explains vbscript or has some tutorials on vbscripting?

My other question for expert vbscripters is with using vbscript can I determine yesterdays date (previous days date) based on todays date (date on users machine)? I know that in vb to get today's date I use the word 'date' and it will provide me the date. Does vbscript work the same way?

Thanks for any sample code/advice in advance.

CiberTHuG
May 29th, 2001, 01:56 PM
I don't know any VBScript tut pages, but you will find that most of what you can do in VB, you can do in VBScript. For example, you can get the date, and use DateAdd and subtract one day and get yesterday's date just like you would in VB.

monte96
May 29th, 2001, 04:24 PM
Try:

ASP101 (http://www.asp101.com)

The only major thing in VBScript you will find that is not there that you would expect to be, is the format function. It is replaced by 4 more specific use format functions:
FormatDateTime, FormatPercentage, FormatCurrency, and FormatNumber.

sail3005
May 29th, 2001, 04:27 PM
http://www.vb-bookmark.com/vbsTutorial.html

toraj
May 30th, 2001, 07:24 AM
www.w3schools.com
is a good site