Format a datetime field to show only the date value

This syntax in an asp page will display a datetime field as a date only field (e.g. 3/11/2011):

formatdatetime(field,2)

Formatdatetime is a vbscripting function.