Return epoch seconds for start of a month.
(year, month)
| 34 | f.write(f"{original}\t{mapped}\n") |
| 35 | |
| 36 | def get_timestamp_start(year, month): |
| 37 | """Return epoch seconds for start of a month.""" |
| 38 | return int(datetime.datetime(year, month, 1).timestamp()) |
| 39 | |
| 40 | |
| 41 | def convert_ms_to_sec(ts_ms): |