Add timestamp_GMT
# -*- coding: utf-8 -*-
import openreview
import re
+import datetime
super_user_id = 'OpenReview.net'
@@ -411,4 +412,7 @@ def assign(client, paper_number, conference,
if reviewer_to_add:
add_assignment(reviewer_to_add, parent_group, unassigned_individual_groups, individual_groups)
+def timestamp_GMT(year, month, day, hour=0, minute=0, second=0):
+ return int((datetime.datetime(year, month, day, hour, minute, second) - datetime.datetime(1970, 1, 1)).total_seconds() * 1000)
+
