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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dateformat a Variable recovered from a query

Status
Not open for further replies.

sliver

Programmer
Nov 16, 2000
23
US

Here is the code I am trying to use

#dateformat(#query.date#(), "MMM-DD-YYYY")#

what I have is a date available field in a DB that the client has filled out in the past I want to populate that field with the varaible which I pick up in the query earlier on the page but I run into a Invalid expression format when I try to do this does anyone know a way around this.
 
How about #DateFormat(Query.Date,"mmm-dd-yyyy")#? Calista :-X
Jedi Knight,
Champion of the Force
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top