Forum Discussion
Anonymous
10 months agofrom datetime import datetime, timedelta
end_time = int(datetime.utcnow().timestamp())
start_time = int((datetime.utcnow() - timedelta(minutes=30)).timestamp())
Related Content
- 2 months ago
- 2 years ago
from datetime import datetime, timedelta
end_time = int(datetime.utcnow().timestamp())
start_time = int((datetime.utcnow() - timedelta(minutes=30)).timestamp())