Time format

I am ew to webMethods. I am time to be displayed in HH:MM format. I am using dateTimeFormat from Wmpublic folder and could not achieve it.

can anybody help me in this.

Thanks,
Anil

May I know what is the newPattern u gave.I think it should be HH:mm

Hi,

when i am using the services present in wmpublic, iget a combination of date and time. I want only time to be displayed in HH:MM format. How can i achieve this.

Thanks,
anil

Try HH:mm as Gogineni mentioned.

Use this service WmPublic service pub.date:getCurrentDateString and input the pattern with (HH:mm)it will give only current time

or use pub.date:dateTimeFormat and give new pattern (HH:mm) and you current pattern should have date/time stamp in it.

HTH,

Hi,
I have used your service and could able to achieve this.
Thanks a lot.

Regards,
Anil