Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

FormatDateTime

The FormatDateTime function will format a date and/or datetime variable into one of several standard date formats that VBScript supports.

    Response.Write "Current Date: " & FormatDateTime(Now(), vbGeneralDate)


ASP Variable Value Description
vbGeneralDate 0 Uses the internal system settings to format the date
vbLongDate 1 Creates a long date format such as: July 23, 2002
vbShortDate 2 Creates a short date in the format: 11/25/02
vbLongTime 3 Creates a long version of the time: 15:32:59
vbShortTime 4 13:21


Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"When your are playing for the national championship, it's not a matter of life or death. It's more important than that." - Duffy Daugherty

©2010 San Diego Web Design - Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.