| 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: 7
This script displays the current date for the month like this: 6
This script displays the current year like this: 2008
This script displays the current week of the year like this: 28
This script displays the current quarter of the year like this: 3
|
|||||||
|
Main Menu Other Resources
Last Updated:
|
|||||||
|
© 1997-2008 ASP Web Pro, Inc. | Terms of Use
|