Top "Date-parsing" questions

Date-parsing refers to programming logic which reads one or more parameters, attempts to match it to a supported or specified date format, then returns the resulting Date if successful.

Converting a string to a date in JavaScript

How can I convert a string to a date in JavaScript? var st = "date in some format" var dt = new …

javascript date type-conversion date-parsing
Format date with Moment.js

I have a string in this format: var testDate = "Fri Apr 12 2013 19:08:55 GMT-0500 (CDT)" I would like to use Moment.js …

javascript momentjs date-parsing
Parse Date String to Some Java Object

I am working in a project that reads files and processes data. There I got to work with dates for …

java datetime jodatime date-parsing
java.time.format.DateTimeParseException: Text could not be parsed at index 3

I am using Java 8 to parse the the date and find difference between two dates. Here is my snippet: String …

java-8 java-time date-parsing
How to convert a date in this format (Tue Jul 13 00:00:00 CEST 2010) to a Java Date (The string comes from an alfresco property)

i'm managing a date that comes from an Alfresco Properties and is in the specified (Tue Jul 13 00:00:00 CEST 2010) and i …

java alfresco date-parsing
Parse date in MySQL

How to convert the following into date for insertion/update into a TIMESTAMP or DATE field in MySQL? '15-Dec-09…

mysql date-format date-formatting date-parsing
Why SimpleDateFormat("MM/dd/yyyy") parses date to 10/20/20128?

I have this code: DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy"); dateFormat.setLenient(false); Date date = dateFormat.parse("10/20/20128"); and I …

java date simpledateformat date-parsing
Parse a date in rails

I have a date (Which is actually parsed from a PDF) and it could be any of the following format: …

ruby-on-rails ruby ruby-on-rails-3 date-parsing
String-Date conversion with nanoseconds

I've been struggling for a while with this piece of code for an Android app and I can't get the …

java android simpledateformat datetime-format date-parsing
How to parse a date string into a c++11 std::chrono time_point or similar?

Consider a historic date string of format: Thu Jan 9 12:35:34 2014 I want to parse such a string into some kind of …

c++ c++11 date-parsing datetime-parsing