Home > Back-end >  DBchart and mysql database
DBchart and mysql database

Time:09-28

Chart is in accordance with the time (cross - millisecond data) integer (vertical) to draw the Line Line,
Plan the abscissa data values and vertical coordinates numerical mysql database,
Show association DBChart and database can display data curves,
The problem is how to put the EncodeDateTime (2015, 7, 6, 12, 20, 30, 67) this value exists in the database???????

CodePudding user response:

How can DBChart and EncodeDateTime (2015, 7, 6, 12, 20, 30, 67) this value corresponding to the?

CodePudding user response:

What is this a few values?

CodePudding user response:

According to the parameters of a given AYear, AMonth, ADay, AHour, AMinute, ASecond, AmilliSecond
Respectively as year, month, day, hours, minutes, seconds, milliseconds of a TDateTime type variable returns
TDateTime timeset;
Define
EncodeDateTime (AYear, AMonth, ADay, AHour, AMinute, ASecond, AMilliSecond: Integer) :
TDateTime; Parameter
Ayear: integers, [1999] 9 years, domain
Amonth: integers, [1, 2] 12 month, domain
Aday: integer, date, domain [1, 31]
Ahour: integer, hours, domain, aiaa [0], 24, if it is all require minutes, seconds, milliseconds to 0
Aminute: integer, minutes, domain,59 [0]
Asecond: integer, second, domain,59 [0]
[0999] AmilliSecond: integers, ms, domain
Example: the timeset:=EncodeDateTime,08,08,09,32,45,990 (2011);

CodePudding user response:

The great god, help to look at,
  • Related