<% Response.Write FormatDateTime(Date, vbLongDate) %>
This script displays the date like this: 30 November 2011
You can also use the vbShortDate method like this:
<% Response.Write FormatDateTime(Date, vbShortDate) %>
This script displays the date like this: 30/11/2011
http://www.aspwebpro.com/aspscripts/dates/longshort.asp
No comments:
Post a Comment