SAP Knowledge Base Article - Preview

2670776 - ODBC extension for PHP doesn't display dates - SDK for SAP ASE


  • PHP application using SAP ODBC driver fails to display dates:
  • PHP returns a date $querySelect = "SELECT GetDate()";
  • php test.php
  • string(0) ""



  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • Adaptive Server Enterprise extension module for PHP
  • Adaptive Server Enterprise ODBC Driver by Sybase


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7


null, gone, extension, module, php 5, php 7, script, blank, datetime, date, bigdatetime , KBA , BC-SYB-SDK , SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.