Top "Date-format" questions

`DateFormat` is a Java Standard Edition library class which provides utility methods to parse and format dates.

android.text.format.DateFormat "HH" is not recognized like with java.text.SimpleDateFormat

When I use the "HH" flag in android.text.format.DateFormat, it is interpreted as a literal "HH". But when …

java android date-format simpledateformat
Getting the correct GMT format using DateFormat Object

If i have a File object how can i get the lastModified() date of this file in this GMT format: …

java date-format simpledateformat gmt
System date formatting not using django locale

Trying to understand L10N implementation into Django, Here are my settings LANGUAGE_CODE = 'fr-FR' USE_L10N = True If …

python django localization date-format
DateTime.ParseExact not working at all, why?

I am attempting to parse the following String into a DateTime object in c#: DateTime.ParseExact("20101108 230125", "yyyyMMdd hhmmss", null) although …

c# .net datetime date-format datetime-parsing
Why Does Java's SimpleDateFormat parse this

Hi I've got a simple date format set up with a custom format string: MMddyy and I give it the …

java date-format simpledateformat
SimpleDateFormat: unparseable date exception

After looking after several existing posts, I am still not able to get my SimpleDateFormat parser working. Here is the …

java android date-format simpledateformat parseexception
Angular JS - Date changes when submitting to $http - Timezone issue

I am having a strange problem where a Date changes when it is passed to API through $http.put, I …

javascript angularjs date-format angular-ui-bootstrap timezone-offset
How to shorten switch case block converting a number to a month name?

Is there a way to write this on fewer lines, but still easily readable? var month = ''; switch(mm) { case …

javascript date switch-statement date-format
Java SimpleDateFormat: an hour wrong

I don't need a whole story to clarify my question, so I'll just show the code (which is a mere …

java date date-format
Convert timestamp to a specific date format in javascript

I am trying to convert a timestamp of this format in Javascript /Date(1231110000000)/ to this format: DD/MM/YYYY Does …

javascript date timestamp date-format time-format