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.
In reply to Re^2: Get current time using Joda time format
by Corion
in thread Get current time using Joda time format
by ravi45722
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |