Timestamp from MySQL Database

Timestamp from MySQL Database

crmoreiracrmoreira Posts: 2Questions: 0Answers: 0
edited November 2012 in General
Hi Guys, I'm starting with Datatables and tryied to search the forum but I still can't display a datestamp field using datatables.

I checked the JSON and seems ok:

"date": {"@class": "sql-timestamp","$": "2012-11-23 15:13:50.0"}

At the output I receive just "Object" at timestamp column.

Thanks a lot,

Carlos

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Please link us to a test page showing the issue. Are you reading the $ parameter from the object for example? I'd guess not. See http://datatables.net/blog/Extended_data_source_options_with_DataTables

    Allan
  • crmoreiracrmoreira Posts: 2Questions: 0Answers: 0
    Hi Allan, thank you very much, it's working now, using the $ notation.
This discussion has been closed.