StackOverflow Questions for Tag: python-datetime

agftrading
agftrading

Reputation: 884

Is there a way to explicitly parameterise for timezeone aware datetime object via typing hints in a function in python?

Score: 4

Views: 364

Answers: 0

Read More
Chinmai Veera
Chinmai Veera

Reputation: 21

Determine whether a given date string includes all three components: day, month, and year

Score: 2

Views: 115

Answers: 2

Read More
lufthansa747
lufthansa747

Reputation: 2061

Python strptime parse timezone format "GMT+-H"

Score: 1

Views: 855

Answers: 3

Read More
sbalajis
sbalajis

Reputation: 2019

Calculate Time Difference Between Two Pandas Columns in Hours and Minutes

Score: 169

Views: 480599

Answers: 4

Read More
rdegges
rdegges

Reputation: 33844

What's the most elegant way to get the end of the day (datetime)?

Score: 11

Views: 11474

Answers: 6

Read More
Dinesh
Dinesh

Reputation: 1878

datetime.strptime() is blocking asyncio.Queue.get()

Score: 0

Views: 45

Answers: 1

Read More
emma
emma

Reputation: 357

pyqtgraph: Show x axis labels in the form DD HH:MM:SS of data representing timedeltas with DateAxisItem

Score: 0

Views: 37

Answers: 0

Read More
Alpha Warrior
Alpha Warrior

Reputation: 37

I have a time in string format, which is of New York. I want the time to be converted to UTC in Python

Score: 0

Views: 57

Answers: 1

Read More
Mark Tozzi
Mark Tozzi

Reputation: 10923

How to make a datetime object aware (not naive)?

Score: 852

Views: 821529

Answers: 17

Read More
Samuel Cheng
Samuel Cheng

Reputation: 1

How do I setup a global variable of epoch time and milliseconds to my test suite in Robot Framework?

Score: 0

Views: 1015

Answers: 1

Read More
bcoble
bcoble

Reputation: 83

How to calculate the first Monday of the month; python 3.3+

Score: 8

Views: 15245

Answers: 6

Read More
Pyderman
Pyderman

Reputation: 16227

Getting today's date in YYYY-MM-DD in Python?

Score: 1034

Views: 1748001

Answers: 14

Read More
reihaneh roshan
reihaneh roshan

Reputation: 11

ValueError: time data does not match format '%m/%d/%Y %H:%M:%S.%f'

Score: 0

Views: 9463

Answers: 1

Read More
excelman
excelman

Reputation: 419

Python Async Function not updating timestamp

Score: 0

Views: 39

Answers: 1

Read More
toast
toast

Reputation: 592

Parsing the string representation of struct_time

Score: -1

Views: 61

Answers: 1

Read More
Nho
Nho

Reputation: 23

Easy way to convert Julian calendar to standard with Python xarray?

Score: 2

Views: 432

Answers: 2

Read More
Michael
Michael

Reputation: 16142

AttributeError: 'datetime' module has no attribute 'strptime'

Score: 268

Views: 506299

Answers: 6

Read More
Mihuu
Mihuu

Reputation: 1

How to save dataframe after shifting its columns using date as index

Score: 0

Views: 96

Answers: 1

Read More
maverick_27
maverick_27

Reputation: 25

Equivalent of Excel's Weeknum function in Python

Score: 0

Views: 1589

Answers: 2

Read More
Pwnosaurus
Pwnosaurus

Reputation: 2170

In python (pytz), how can I add a "day" to a datetime in a DST-aware fashion? (Sometimes the result should be 23 or 25 hours in in the future)

Score: 1

Views: 49

Answers: 2

Read More
PreviousPage 1Next