Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keyword expansion

Status
Not open for further replies.

LesleyW

Programmer
Mar 12, 2001
196
GB
Experimenting with keyword expansion.... what I want to do is use the $Date: $ keyword to get a date in an ASP file.. the date it was last checked in to source safe. I want this date to display in the HTML file the ASP outputs.

Problem is, if don't want $Date: $ to show up on the HTML file, but if I comment it out then the date is commented out too and does not display in the browser.

Anyone got a workaround for this?
 
Last modified on <!--$$JustDate:--!> <!--$-->

Upon checkin, VSS would replace it with:

Last modified on <!--$$JustDate:-->5/16/96<!--$-->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top