| Select Part of Date ASP Script - ASP Web Pro |
|
ASP ScriptsSELECT PART OF DATEIt is often useful to be able to select and display only a specific portion of the date. Here are a few examples that you can use with ASP / VBScript:
This script displays the current month number like this: 3
This script displays the current date for the month like this: 21
This script displays the current year like this: 2010
This script displays the current week of the year like this: 13
This script displays the current quarter of the year like this: 1
|
|||||||
|
Main Menu Other Resources
Last Updated:
|
|||||||
|
© 1997-2010 ASP Web Pro, Inc. | Terms of Use
|