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

Help:About the function _add_years() in FrameWork Manager

Status
Not open for further replies.

394184878

Programmer
Oct 26, 2009
4
0
0
CN
I wanna add a calculation fields in FrameWork manager.
For instance:[current_date]=2009-12-21

so run the function :
[_add_years(current_date,-1)]
return value:[Nov 21 2008]

But,we run another function:
[_add_years(cast('2009-12-21',date),-1)]
return value:[Nov 24 2008]

why return different values?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top