tagged [date]

Oracle: how to add minutes to a timestamp?

Oracle: how to add minutes to a timestamp? I need to add 30 minutes to values in a Oracle date column. I do this in my SELECT statement by specifying `to_char(date_and_time + (.000694 * 31)` which wor...

10 Feb at 15:24

Sqlite convert string to date

Sqlite convert string to date I have date stored as string in an sqlite database like "28/11/2010". I want to convert the string to date. Specifically I have to convert lots of string dates between t...

5 Jul at 11:12

Format date as dd/MM/yyyy using pipes

Format date as dd/MM/yyyy using pipes I'm using the `date` pipe to format my date, but I just can't get the exact format I want without a workaround. Am I understanding pipes wrongly or is just not po...

2 Nov at 22:40

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

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 format `...

Calculate the date yesterday in JavaScript

Calculate the date yesterday in JavaScript How can I calculate as a date in JavaScript?

22 Dec at 02:48

Check time difference in Javascript

Check time difference in Javascript How would you check time difference from two text-boxes in Javascript?

15 Feb at 15:51

What was the date 180 days ago?

What was the date 180 days ago? How would I get the date 180 days ago using C#?

5 Aug at 14:58

Change date format in a Java string

Change date format in a Java string I've a `String` representing a date. I'd like to convert it to a `Date` and output it in `YYYY-MM-DD` format. > 2011-01-18 How can I achieve this? --- Okay, based o...

Check if year is leap year in javascript

Check if year is leap year in javascript This is what I have so far (the entry is o

How to convert date to timestamp in PHP?

How to convert date to timestamp in PHP? How do I get timestamp from e.g. `22-09-2008`?

4 Aug at 15:32

Change system date programmatically

Change system date programmatically How can I change the local system's date & time programmatically with C#?

14 Dec at 20:35

Best way to store date/time in mongodb

Best way to store date/time in mongodb I've seen using strings, integer timestamps and mongo datetime objects.

10 Feb at 10:54

C# - Formatting current time

C# - Formatting current time In C#, how can I get the current DateTime in the following format?

12 Oct at 23:58

C# seconds since specific date

C# seconds since specific date In C# 3.0, how do I get the seconds since 1/1/2010?

16 Apr at 20:0

What are the "standard unambiguous date" formats for string-to-date conversion in R?

What are the "standard unambiguous date" formats for string-to-date conversion in R? Please consider the following But that date clearly in a standard unambiguous format. Why the error message? Worse,...

How to get time difference in minutes in PHP

How to get time difference in minutes in PHP How to calculate minute difference between two date-times in PHP?

21 Jul at 07:58

How to convert current date into string in java?

How to convert current date into string in java? How do I convert the current date into string in Java?

22 Mar at 01:21

java.util.Date to XMLGregorianCalendar

java.util.Date to XMLGregorianCalendar Isn't there a convenient way of getting from a java.util.Date to a XMLGregorianCalendar?

25 May at 14:25

Convert to date format dd/mm/yyyy

Convert to date format dd/mm/yyyy I have the following date: . I would like to convert this date to the format.

18 Sep at 18:5

How to get current time and date in Android

How to get current time and date in Android How can I get the current time and date in an Android app?

17 Jan at 22:43

Java: Get month Integer from Date

Java: Get month Integer from Date How do I get the month as an integer from a Date object (`java.util.Date`)?

17 Dec at 16:13

How to get difference of days/months/years (datediff) between two dates?

How to get difference of days/months/years (datediff) between two dates? I am looking for a way to implement the [SQLServer-function datediff](https://learn.microsoft.com/en-us/sql/t-sql/functions/dat...

Display the current time and date in an Android application

Display the current time and date in an Android application How do I display the current date and time in an Android application?

16 Dec at 14:47

Extracting date from a string in Python

Extracting date from a string in Python How can I extract the date from a string like "monkey 2010-07-10 love banana"? Thanks!

18 Jul at 15:46

Javascript format date / time

Javascript format date / time I need to change a date/time from to look like Can this be done using javascript's Date object?

12 Aug at 23:23