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

How to convert date type to Sting

Status
Not open for further replies.

oceandeep

IS-IT--Management
Jul 6, 2000
69
GR
Can anybody here give me the enlightment on how to convert date type to Sting, thanks in advance.
Albert
 
Hi,
You can have strings directly using the "", for example:

<CFOUTPUT QUERY=&quot;qStudent&quot;>
<CFSET Grade = &quot;#StGrade#&quot;>
</CFOUTPUT>

You can convert a string beginning with a numeric to a numeric value, for example:

<CFOUTPUT>
<CFSET value1 = Val(Grade)>
<CFSET value2 = Val('571BFX')>
</CFOUTPUT> <Always there's a solution></Always there's a solution>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top