Hi,
Here is what I am trying to do.
I am trying to add an record field called
#Warranty_Dump_Info.Reference# to a record Field
called #Warranty_Dump_Info.Purchase_Date# and get a future
date that would represent the experation date of a factory
warranty.
#Warranty_Dump_Info.Reference# is a numerical value (30, 90,
180, etc) representing the number of days in the warranty and
#Warranty_Dump_Info.Purchase_Date# is date/time value (Example:
2009-01-01 00:00:00 )
I can get the date/time formatted (Time stripped out),
using
<foutput>#dateformat(Warranty_Dump_Info.Purchase_Date,
"mm-dd-yyy")#</output>
However, I cannot get it to add the number of days value from
#Warranty_Dump_Info.Reference# or get it to display
in the correct date format (Time Stripped off).
I have tried stripping the time from
#Warranty_Dump_Info.Purchase_Date# and then saving it as a
variable, then
using DateAdd() on the variable, but it still fails to strip
the time from the results.
Thank You in advance for your help.
Also, what does it mean when the date is displayed as
follows: {ts '2009-01-01 00:00:00'}
Some of my CF attemps have resulted in this weird "ts"
display. You can see it at the bottom of the page here:
http://devo.dns2go.com/Warranty_Dump.cfm
(logon as Admin, password: admin). This is where I have been trying
to experiment and figure it out.