Questions tagged [Work with date / time] (236)

1
answer

How to go to the website from last time?

How do I access the posts on Reddit outside the top 1000 (to see all the old posts)? I understand their display relates to time. What software should I use to change the time when you visit the site.
domingo.McCullough15 asked April 19th 20 at 12:18
3
answers

Golang Parse time, strange behavior, but why?

Kind time, Respected community. Can who faced a similar problem more like a BUG. Tried to unmarshall a date string and not out, this is what came: func (c *CustomDate) UnmarshalJSON(b []byte) (err error) { s := strings.Trim(string(b), `"`) if s == "null" { return } t, err := time.Parse(time.RFC3339, time.RFC3339) if er...
Domenica_Grady asked April 19th 20 at 12:01
2
answers

Whether to use UTC everywhere on the server?

There are a number of inconveniences in the work over time. On the server one time, in MySQL, other, PHP(Laravel) third. All because of time zones. In addition, periodically, time shifting (summer/winter). At the same time, site visitors - people from different time zones. In General, a mess. In this regard, I decided to ju...
Clare.Schumm asked April 18th 20 at 13:20
2
answers

How to show the user data in the server's time zone and whether you want?

The server time is in UTC. All entity creation time, measured in timestamp and transmitted to the user in the browser in the form of a timestamp and the user on the computer already converted to the date and time. Thus, each user sees the date and time according to your time zone. But there are still functional schedules fo...
Dane.Turcotte asked April 18th 20 at 13:20
3
answers

Why is the time in PHP goes wrong?

Wrote in php.ini your time zone, I deduce:12:04At that moments was really 12 hours, but the minutes were different and there was fixed: next four minutes they had advanced. Now, at seven o'clock, displays 14:04. What to do and why is the time in hours has slowed and in short - stop?
Zander.Larson asked April 16th 20 at 10:40
0
answer

Python Telegram Bot why don't scheduled posts in a separate thread?

import telebot import time import schedule import threading def thread(my_func): def wrapper(*args, **kwargs): my_thread = threading.Thread(target=my_func, args=args, kwargs=kwargs) my_thread.start() return wrapper @thread def job_utro(): bot.send_message(6341*1231,"Good morning!") def job_vecher(): bot.send_message(...
nelle_Dicki asked April 16th 20 at 10:02
1
answer

Python Telegram Bot scheduled posts?

I tried, but the odd Nitsche not work out... Please fix the bugs in the code( def timer_process():#Start Process p1 = Process(target=P_schedule.timer_schedule, args=()).start() class P_schedule(): # Class to work with schedule def timer_schedule(): #Run the schedule ######Parameters for schedule###### schedule.every()...
Nettie.Hegmann24 asked April 9th 20 at 10:09
0
answer

Python Telegram Bot Time. How to make send me a message to schedule?

Hello. I can not understand, to understand and find enough information to have a little something to implement: Because all the time different, the bot with the command /start have to ask what city the person lives(in Order for the city to know the time). The bot needs to identify and save the time zone of this user. 1. 8...
mariano.Sta asked April 8th 20 at 18:31
1
answer

How to convert date to text in MySQL?

There is a table with dates of the form 2016-01-17how you can use the query to SELECT the date like this January 17, 2016 and whether this generally means pure MySQL?
melyssa_Robel asked April 8th 20 at 10:24
1
answer

How you can quickly change the text Label (Tkinter) (Datetime)?

Make electronic watch. Have made a variable Label and text = (date_time.hour, minute, second), so they were always updated wrote: while True: TimeHour = Label(root, text=date_time.hour, width=5, height=2,font=('Verdana', 16, 'bold')) TimeMinute = Label(root, text=date_time.minute, width=5, height=2,font=('Verdana', 16, '...
Josefina.Swaniawski50 asked April 8th 20 at 10:15