Query editor
--Credit this epoch query to 0xkhmer. Big thanks for the logicWITHa AS (SELECT DATE_TRUNC('week', NOW() - INTERVAL '84' hour) + INTERVAL '3' day AS epoch_start)SELECTdate_diff('week', TIMESTAMP '2023-03-16 00:00:00', epoch_start) + 1 AS epoch,Date_FORMAT(epoch_start, '%Y-%m-%d %H:%i') as epoch_start,Date_FORMAT(epoch_start + INTERVAL '7' day, '%Y-%m-%d %H:%i') AS epoch_endFROM a