Top "Date-formatting" questions

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

Displaying the last two digits of the current year in Java

How can I display only the last two digits of the current year without using any substring algorithms or any …

java date-formatting gregorian-calendar
sqlite timestamp formatting

I am trying to work with dates in an sqlite database. I am storing my dates as timestamps, but when …

sql database sqlite date-formatting
Formatting date to human readable format

Lets say in my mysql database I have a timestamp 2013-09-30 01:16:06 and lets say this variable is $ts. How …

php mysql unix-timestamp date-formatting
Time ISO 8601 in Ruby

I am trying to return a date with this format 2015-10-07T00:32:50.877+0000 I have tested that Time.now.iso8601 =&…

ruby date-formatting
SQL date conversion results to "invalid number format model parameter."

I have to select some data from Oracle 11g database, but I can't seem to figure out why following select …

sql oracle oracle11g date-formatting date-arithmetic
Date format change angular 2

I need to change my date format, the problem is that I can't use moment.js, I need just to …

angular date date-formatting
What exactly does trunc(date, 'IW')?

For my project I need to have an absolute numerical correspondence between days of the week and 1...7 values. As you …

sql oracle oracle11g date-formatting
How to remove time-field string from a date-as-character variable?

Suppose I have a variable like this c<-c("9/21/2011 0:00:00", "9/25/2011 0:00:00", "10/2/2011 0:00:00", "9/28/2011 0:00:00", "9/27/2011 0:00:00") what's a quick way to remove all 0:00:00s so that …

string r substring date-formatting
Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX

I am trying to parse a date 2014-12-03T10:05:59.5646+08:00 using these two formats: yyyy-MM-dd'T'HH:mm:ss yyyy-MM-dd'T'HH:mm:ssXXX …

java date-format simpledateformat date-formatting
How To assign null values in MySql using VB.NET

I am not sure why VB makes everything such a pain. I have a fields which stores the date and …

mysql vb.net date-formatting