date logic

Signed-off-by: Jason Kuster <unexpectedapocalypse@gmail.com>