Unable to convert Epoch Time stamp to canonical date format.
We have integrated Oracle BRM and Oracle BIP for billing and invoice generation. The time field say for example 'END_T' which is coming from BRM is in UNIX epoch time stamp format.
<END_T>1381084200</END_T>
Now while generating the invoice from BIP we need to convert this time stamp to DD-MON-YYYY format.
We are using the below mentioned function in BIP template to convert the time stamp.
<?format-date:(xdoxslt:ora_format_date_offset('1970-01-01', //invoice/BILLINFO/END_T div 86400, ‘+‘)) ; 'DD-MON-YYYY'?>
Its generating us the date in desired format: 06-Oct-2013 but we are working in Australian time zone which is 5Hrs 30Mins more than GMT.