[progress Communities] [progress Openedge Abl] Forum Post: Re: Retrieving Localization...

  • Thread starter Thread starter Mohammed Siraj
  • Start date Start date
Status
Not open for further replies.
M

Mohammed Siraj

Guest
Rollbase API will return Date and Date-Time fields in ISO 8601 standard format (as per UTC timezone). Parsing such Date string literals should not require User's localization settings. Additiionally, if required, you can define formula fields as wrappers over Date or Date-Time fields which will return a long value i.e. no. of milliseconds since 01/01/1970 EPOCH (UTC timezone is implicit). With this approach as well there will not be an overhead of parsing Date/Date-time string literals for API clients. Eg: Formula : //for a Date field 'dob' return rbv_api.getFieldValue('Person',1234567,'dob').getTime();//returns long value i..e no. of millisecodns since EPOCH time

Continue reading...
 
Status
Not open for further replies.
Back
Top