Tag:time zone

  • Django time zone problem

    Time:2020-5-29

    In the Ubuntu environment: If you are settings.py The time zone has been set in the file. Please open the terminal to input the commanddate -RCheck if it is correct. If not, pleasetimedatectl set-timezone Asia/ShanghaiChange the time zone of Linux system, and then change the time as welldate -s ‘2020-03-27 11:50:00’(the time here can be […]

  • One of the ES series takes you to avoid the pit of date type

    Time:2020-3-29

    Summary Time related fields are the most commonly used fields in elasticssearch (hereinafter referred to as ES). Almost all indexing application scenarios will have time fields, which are generally used in time range based search, aggregation and other scenarios. However, due to the problem of time zone, I believe that many small partners have stepped […]

  • Technology sharing | MySQL: timestamp time zone conversion leads to high CPU% sys

    Time:2020-3-16

    Author: Gao PengAt the end of the article, there is his book “in-depth understanding of MySQL master-slave principle 32”, in-depth understanding of MySQL master-slave, gtid related technical knowledge. This is a learning record. Please understand if there is any mistake. This problem is a friend’s @ situation, and this friend has reached a nearly correct […]

  • a commonplace talk of an old scholar! How does the database store time? Do you really know?

    Time:2020-1-25

    It is inevitable for us to save time in our development, for example, we need to record the time of this record in the operation table, record the transaction time of transfer, record the departure time, etc. You will find that this time is closely related to our development. Good or bad use will have […]

  • How to use Java’s new time API

    Time:2020-1-13

    Before reading this article, please read the summary of machine time, UTC time and local time in the previous article. There are three particularly important classes in Java’s new time API: instant, localdatetime, zonedatetime. They correspond to the time concepts mentioned in the previous article: machine time, local time without time zone, and local time […]

  • . net webfrom cross time zone project time problem handling method

    Time:2019-12-29

    Some time ago, because a webfrom project of the company was designed to cross time zone, it took a while to deal with it, and finally solved the problem. Write a blog to record it, so as to facilitate future review and provide a reference method for others. Because this project spans multiple time zones, […]

  • MySQL time type and mode

    Time:2019-12-7

    When I was inMySQLAn error is reported when trying to insert a data with a time stamp in the database: mysql> insert into alarm_service values (6, ‘1970-01-01 08:00:00’); ERROR 1292 (22007): Incorrect datetime value: ‘1970-01-01 08:00:00’ for column ‘time’ at row 1 #View table structure mysql> show create table alarm_service; +—————+————————————————————————————————————————————————————————————————————————————–+ | Table | Create […]

  • The Use of Goang Time, Time Zone and Format

    Time:2019-9-2

    A few days ago, the concept of time zone was involved because of the need to achieve regular outage of overseas service terminals. Search online, most of them are about Layout in time. Format, which is very fragmentary. Here we briefly summarize the time initialization, time zone conversion and format conversion. In the process of […]

  • What about database time zones – Oracle’s time zone processing

    Time:2019-1-28

    Original address What happens when the JVM time zone is inconsistent with the database time zone? You may never have noticed this, but when you container Java programs, the problem arises because almost all of the Docker Image time zones are UTC. This article explores how Oracle and its JDBC drivers handle time zones and […]