datefunctions added

python code for testing date formatting and manipulation