Wrote an script to print date and time