date format and converting that date to JodaTime


I want to use date as a parameter with a url call in the following format YYYYMMDDHHMMSS.When i checked java Date it is in how can i do that in java ? or i have to give time manually using the below code?

public static long start_date=20140423101010L;

the above variable has a date from the year 2014 month 04, date 23, and time hour :10., min:10 and sec :10. I want this time in the above format (YYYYMMDDHHMMSS) to JodaTime.

Is it possible to do that?



DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyyMMddHHmmss"); DateTime dateTime = formatter.parseDateTime(String.valueOf(start_date));


  • Group rows by 7 days interval starting from a certain date
  • Second Last records
  • Woocommerce Subscriptions - Get Start date
  • Mysql EAV match row as field or entity's property value
  • How do I display a dialog that asks the user multi-choice questıon using tkInter?
  • how does System.Web.HttpRequest::PathInfo work?
  • Content-Length header not returned from Pylons response
  • Test if a set exists before trying to drop it
  • Play WS (2.2.1): post/put large request
  • Chrome doesn't support silverlight anymore? How to solve this?
  • How to access EntityManager inside Entity class in EJB3
  • Linq Objects Group By & Sum
  • Illegal mix of collations for operation for date/time comparison
  • Optimizing database types to compact database (SQLite)
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Does CUDA 5 support STL or THRUST inside the device code?
  • sending/ receiving email in Java
  • vba code to select only visible cells in specific column except heading
  • Release, debug version and Authorization Google?
  • Circular dependency while pushing http interceptor
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • How to delete a row from a dynamic generate table using jquery?
  • Buffer size for converting unsigned long to string
  • AngularJs get employee from factory
  • Proper way to use connect-multiparty with express.js?
  • Acquiring multiple attributes from .xml file in c#
  • How to set the response of a form post action to a iframe source?
  • Hits per day in Google Big Query
  • JTable with a ScrollPane misbehaving
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Change div Background jquery
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How can I remove ASP.NET Designer.cs files?
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • unknown Exception android
  • Checking variable from a different class in C#
  • reshape alternating columns in less time and using less memory
  • failed to connect to specific WiFi in android programmatically
  • java string with new operator and a literal
  • How can I use threading to 'tick' a timer to be accessed by other threads?