Fixed example. Invoice cut-off dates can be in most date formats as well as longs.