in reply to Re: Get current time using Joda time format
in thread Get current time using Joda time format

Shouldn't it be strftime instead of strptime? I get the impression that ravi45722 has the format string and wants to produce the current date+time according to that format.

But the modules work in both directions, resp. DateTime has formatters, so the module suggestions are still good no matter the direction of conversion.