SAP Knowledge Base Article - Preview

2209886 - SMP OData client app stores dates in GMT format and not in the local time zone


  • In a native Android application using OData, the date field is converted to the GregorianCalendar class of Java. The data is being stored to the ulltralite DB with the correct timezone: Amercia/Sao Paulo. However when it is retrieved from the database it is in GMT timezone.



  • HANA Cloud Platform mobile services (HCPms)
  • OData V2
  • SMP 3.0 SPx On Pemise
  • Android client device


SAP Mobile Platform 3.0 ; SAP Mobile Platform SDK 3.0 ; SAP Mobile Services 1.0, Neo environment


SMP OData timezone offset , KBA , MOB-CLD-OOD , Mobile Service for Offline ODATA , 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.