Posted: Tue May 09, 2017 4:16 am Post subject: Re: MessageFlowProxy getDeployTime Vs mqsilist -d2 deploytim
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
ajaykverma wrote:
Hi,
We are facing an issue with timestamp what mqsilist with -d2 returns Vs MessageFlowproxy.getDeployTime returns.
mqsilist with -d2 returns like:
Deployed: '27/5/15 10:27 AM'
MessageFlowproxy.getDeployTime returns:
Wed May 27 10:27:24 IST 2015
Can't we control timestamp in MessagFlowProxy to return only date - time.
Regards,
Ajay
With a SimpleDateFormat class you can format your timestamp which ever way you like in your MessageFlowProxy app ... However you should remember that this class is not threadsafe... _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum