Top "Date-formatting" questions

Date formatting is the process of displaying, handling or converting a calendar date to a specific format.

Is there a date format to display the day of the week in java?

I know of date formats such as "yyyy-mm-dd" -which displays date in format 2011-02-26 "yyyy-MMM-dd"-which displays date in …

java date simpledateformat date-formatting
How to format time since xxx e.g. “4 minutes ago” similar to Stack Exchange sites

The question is how to format a JavaScript Date as a string stating the time elapsed similar to the way …

javascript date-formatting
How to ISO 8601 format a Date with Timezone Offset in JavaScript?

Goal: Find the local time and UTC time offset then construct the URL in following format. Example URL: /Actions/Sleep?…

javascript timezone date-formatting
How to format a duration in java? (e.g format H:MM:SS)

I'd like to format a duration in seconds using a pattern like H:MM:SS. The current utilities in java …

java date-formatting duration
Return date as ddmmyyyy in SQL Server

I need the date as ddmmyyyy without any spacers. How can I do this? I can get yyyymmdd using CONVERT(…

sql-server sql-server-2005 date-formatting
Java Convert GMT/UTC to Local time doesn't work as expected

In Order to show a reproducible scenario, I am doing the following Get the current system time (local time) Convert …

java simpledateformat utc date-formatting timestamp-with-timezone
Compare two date formats in javascript/jquery

I have the following : var fit_start_time = $("#fit_start_time").val(); //2013-09-5 var fit_end_time = $("#fit_end_…

javascript jquery date-formatting
Format Date output in JSF

If #{myBean.birthdate} is of java.util.Calendar or java.util.Date type, can I possibly format this inside the …

jsf el date-formatting
Date formatting in WPF datagrid

I want to change is the date column from a format "DD/MM/YYYY HH:MM:SS" to "DD.MM.…

c# wpf datagrid date-formatting
ORA-01810: format code appears twice

Why is the sql below generating an ORA-01810 error? I researched the error and I am using different date formats …

sql oracle timestamp date-formatting