Tell me how to convert unix time stamp to date and time format using java service r flow service.
Use pub.date:dateTimeFormat service
There are couple of things for you to know.
- If you have started any thread then post all your replies in the same thread. Do not send any private message for the same thread. As others may be having the same problem and private message replies will not reflect in the thread so there will be no use of opening any new thread on this forum.
- Before raising any query, must go through the PDF/documentation, search similar thread if/any on this forum. Also if you want the usage of any service then Built in service PDF is available in WM documentation use them they are quite helpful.
Anyways reply to you question is :
Service takes current timestamp (EX: inString=‘20102202111055’), current pattern (Ex: currentPattern=‘yyyyddmmhhMMss’), newPattern (Ex: new Patther=‘dd-mm-yyyy hh:MM:ss’)(new patthern is what the way you want). Run the service and you will get desired result.
Extracted from http://www.epochconverter.com/
Here is an example using pub.date:dateTimeFormat: