Skip to Content
0
Former Member
Aug 10, 2016 at 12:21 PM

$.HDB with Date Type Column

82 Views

Hello

I would like to use HDB Library to get data from SAP HANA.

var conn = $.hdb.getConnection();
  var rs = conn.executeQuery(query);
//
//
//
output.REPORT_HISTORY_ID = rs[i]["REPORT_BEGIN"];

I didn't get that Date as String but as UTC Date i think.

"REPORT_BEGIN": "2015-02-28T23:00:00.000Z",

I would like to get "REPORT_BEGIN":"01.03.2015"

When I use that $.db library with rs.getString() that works but I would like to use hdb.

Does anyone know how I get my output as String.

Thanks in advance

Houssem

Attachments

table.PNG (2.5 kB)