tagged [datetime]

Create DateTime from string without applying timezone or daylight savings

Create DateTime from string without applying timezone or daylight savings How do I create a DateTime var from a string which is already adjusted for UTC? I am running this on a machine set to BST (GMT...

DateTime.ToString() format that can be used in a filename or extension?

DateTime.ToString() format that can be used in a filename or extension? I want to add a timestamp to filenames as files are created but most of the DateTime methods I've tried output something with sp...

19 Sep at 17:42

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

Java System.currentTimeMillis() equivalent in C#

Java System.currentTimeMillis() equivalent in C# What is the equivalent of Java's `System.currentTimeMillis()` in C#?

14 Nov at 15:19

How can I clone a DateTime object in C#?

How can I clone a DateTime object in C#? How can I clone a DateTime object in C#?

24 Mar at 13:48

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

Converting a string in ddMMyyyy format to a DateTime

Converting a string in ddMMyyyy format to a DateTime How do I convert a string in ddMMyyyy format to a DateTime?

23 Sep at 16:46

How to get datetime in JavaScript?

How to get datetime in JavaScript? How to get date time in JavaScript with format 31/12/2010 03:55 AM?

23 Jul at 14:57

Convert to/from DateTime and Time in Ruby

Convert to/from DateTime and Time in Ruby How do you convert between a DateTime and a Time object in Ruby?

11 Nov at 01:31

How do I get todays date one year ago in C#?

How do I get todays date one year ago in C#? How do I get todays date one year ago in C#?

13 May at 08:31

How to get the current date/time in Java

How to get the current date/time in Java What's the best way to get the current date/time in Java?

3 May at 05:44

Unable to set datetime format in MVC 4 using data annotations

Unable to set datetime format in MVC 4 using data annotations I will try everything but not working this() date format, this always gate Razor view ``` @Html.EditorFor(model => model.rel

How to change time in DateTime?

How to change time in DateTime? How can I change only the time in my `DateTime` variable "s"?

12 Nov at 20:36

Getting number of days for a specific month

Getting number of days for a specific month how could i programmatically detect, how many days are there for a particular month & year.

2 Oct at 14:26

How do I get the current time in milliseconds in Python?

How do I get the current time in milliseconds in Python? How do I get the current time in milliseconds in Python?

17 Jul at 06:49

Convert minutes to full time C#

Convert minutes to full time C# I need convert to () Is there an easy way to do this that I am missing?

11 Jan at 12:35

ASP.NET DateTime Picker

ASP.NET DateTime Picker is there any good free/open source time picker control that goes well with ASP.NET Calendar control?

7 Oct at 10:48

Calculate the number of business days between two dates?

Calculate the number of business days between two dates? In C#, how can I calculate the number of (or weekdays) days between two dates?

30 Jan at 12:14

Why can't DateTime.Parse parse UTC date

Why can't DateTime.Parse parse UTC date can't it parse this:

18 Nov at 15:8

how to get the 30 days before date from Todays Date

how to get the 30 days before date from Todays Date How do you get the 30 days before today in SQL.

23 Feb at 15:24

Convert string date to timestamp in Python

Convert string date to timestamp in Python How to convert a string in the format `"%d/%m/%Y"` to timestamp?

14 Aug at 03:22

Calculating difference between two timestamps in Oracle in milliseconds

Calculating difference between two timestamps in Oracle in milliseconds How do I calculate the time difference in milliseconds between two timestamps in Oracle?

23 Jul at 18:13