R
R
Rrooom2014-10-23 09:46:01
Python
Rrooom, 2014-10-23 09:46:01

How to study work with time?

Actually a subject. But let me clarify a little - lately I have to run into various troubles with time, when users from all over the world, and even servers in different time zones - today is not always today, but very much yesterday, and if you're not lucky, then tomorrow . Subtleties of interpretation of GMT and UTC time. GMT was specified in the specification for the contract, and the libraries work from UTC, and this is not important for the user + -, but I feel that someday we will have problems due to their differences, etc. Etc.
What can be studied, and preferably also with examples, in order to deal with issues of time?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita Lubchich, 2014-10-23
@Cybran

It would seem that there is also official documentation . Why not read it?

A
Andy_U, 2014-10-23
@Andy_U

Have a look at the pytz, tzlocal, and dateutil modules. I used them a year ago to solve similar problems and they were enough for me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question