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!

chart problem

Status
Not open for further replies.

misulica

Programmer
Feb 8, 2003
43
RO
I have a table with 2 columns:

CurrentDate Amount
01.03.2003 30
01.03.2003 100
....

How can I use the CurrentDate in a chart since the type of this field is Date and in a chart I can put only Numeric?
 
There are a number of ways to convert a date to a number, but what kind of number do you want?
Code:
?int(val(dtos(date()))) && 20030302
?date()-{^1980/01/01} && 8461 - days since 1/1/1980
?INT(VAL(SYS(11, date()))) && 2452701 - Julian Date
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top