Changes

Jump to: navigation, search

OPS445 Online Assignment 1

116 bytes removed, 21:31, 29 September 2021
Overview
When making back up of data files or log files, it is a very common practice to name the backup directories and/or files based on the date the backup was done. In order to restore or locate the directory/file, we often need to find out the backup date from today's date.
The computational task for this assignment is to design an algorithm and write a python script according to your algorithm with appropriate functions. The script should take two dates a date in the "DD-MM-YYYY" format as well as a number of days, and return the date when that number of days from the first is applied to the second date. That is, if the user enters "18-06-2020" and "25-06-20207", the script will return "725-06-2020". Similarly, if the target date number is in the pasta negative number, the script will return a negative number. In addition, if the user enters one date only, then in the number returned should be the number of days between today's date and the specified datepast.
= Assignment Requirements =

Navigation menu