Top "Datetime" questions

A DateTime object in many programming languages describes a date and a time of day.

Keep only date part when using pandas.to_datetime

I use pandas.to_datetime to parse the dates in my data. Pandas by default represents the dates with datetime64[…

python pandas csv datetime series
How do I get the current time only in JavaScript

How can I get the current time in JavaScript and use it in a timepicker? I tried var x = Date() …

javascript datetime
ISO time (ISO 8601) in Python

I have a file. In Python, I would like to take its creation time, and convert it to an ISO …

python datetime iso8601
Conversion of a datetime2 data type to a datetime data type results out-of-range value

I've got a datatable with 5 columns, where a row is being filled with data then saved to the database via …

c# sql-server entity-framework datetime orm
Javascript format date / time

I need to change a date/time from 2014-08-20 15:30:00 to look like 08/20/2014 3:30 pm Can this be done using javascript's …

javascript date datetime
How to make an unaware datetime timezone aware in python

What I need to do I have a timezone-unaware datetime object, to which I need to add a time zone …

python datetime timezone
Filtering Pandas DataFrames on dates

I have a Pandas DataFrame with a 'date' column. Now I need to filter out all rows in the DataFrame …

python datetime pandas filtering dataframe
Convert date to datetime in Python

Is there a built-in method for converting a date to a datetime in Python, for example getting the datetime for …

python datetime date
How to get milliseconds from LocalDateTime in Java 8

I am wondering if there is a way to get current milliseconds since 1-1-1970 (epoch) using the new LocalDate, …

java datetime java-8 milliseconds java-time
What is the standard way to add N seconds to datetime.time in Python?

Given a datetime.time value in Python, is there a standard way to add an integer number of seconds to …

python datetime time math