Date order input and output

Signed-off-by: funkadelicsoul <funkadelicsoul@gmail.com>