Convert unix time stamp

Tell me how to convert unix time stamp to date and time format using java service r flow service.

Use service

HI Karthik,
There are couple of things for you to know.

  1. 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.
  2. 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


Here is an example using

newPattern=MM/dd/yyyy HH:mm:ss


value=08/20/2010 16:06:22